2ca95fef83
(cherry picked from commit 16d97068e431d8c89f4ec9ef2aa564b44f1616d7)
895 B
895 B
25. Fix can't select suggestion email by mouse clicking on web
Date: 2023-04-24
Status
Context
Tap events are not being simulated to overlay on the Web/Desktop but work fine on mobile devices. This worked fine until the previous release stable 3.3
Root cause
Because the thing that the overlay is attached to is a TextField, so in order to keep from unfocused the text field when tapping outside of it, you need to tell the overlay widget that it's part of the TextField for purposes of the Tap outside behavior
Decision
- Try wrapping a
TextFieldTapRegionaround theMaterialin the overlay. So that when the tap arrives, it's consideredinsideof the text field.
Consequences
- Widget on overlay work fine.