Files
workavia-mail-front/docs/adr/0025-fix-can-not-select-suggestion-email-by-mouse-clicking-on-web.md
T
dab246 2ca95fef83 TF-1753 Fix [EmailSuggestion] Email at cc is removed once user select email at bcc suggestion list
(cherry picked from commit 16d97068e431d8c89f4ec9ef2aa564b44f1616d7)
2023-04-24 17:03:39 +07:00

25 lines
895 B
Markdown

# 25. Fix can't select suggestion email by mouse clicking on web
Date: 2023-04-24
## Status
- Issue: [#1576](https://github.com/linagora/tmail-flutter/issues/1576)
- Issue: [#1753](https://github.com/linagora/tmail-flutter/issues/1753)
## 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 `TextFieldTapRegion` around the `Material` in the overlay. So that when the tap arrives, it's considered `inside` of the text field.
## Consequences
- Widget on overlay work fine.