mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
When linking in a scene, it's a good idea to specify its clip rectangle to ensure that its content does not draw or capture input from its surrounding space. A future version of the Mozart view manager may automatically wrap a view's scene with a clip rectangle to avoid composition gotchas like this but it currently doesn't. So the net effect is that if you embed a view without specifying a clip, it can draw or capture input from anywhere within its container.