Triggering a change with the ContainerView results in incorrect things #12116
Labels
area-gestures
Gesture types
fixed-in-8.0.0-preview.1.7762
Look for this fix in 8.0.0-preview.1.7762!
platform/android 🤖
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
platform/windows 🪟
t/bug
Something isn't working
t/perf
The issue affects performance (runtime speed, memory usage, startup time, etc.)
Milestone
Description
Some aspects of the view, such as Gestures on Android (and maybe iOS if this is merged: #12108), are attached to the container view. As a result, when the container view is removed the whole gesture set is missing.
Steps to Reproduce
This is because in the first case, a container was added and the gestures are still attached to the label. In the second case, the gestures were attached to the container that is now removed from the view hierarchy.
Even if this was perfect, I am not sure how this plays with controls that respond to taps - for example buttons. Will attaching gestures stop normal button things? If so, will it change when it is on the container? Is this a valid case of a button and a tap gesture on that button? Should adding a gesture trigger a new container?
In a perfect world, we have 2 behaviours - with and without containers!
Link to public reproduction project repository
:)
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
All
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: