-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
Description
The accent selection menu, displayed after long pressing keys is currently displayed in wrong position (bottom left corner of screen)
This is likely due to FlutterTextInputPlugin firstRectForCharacterRange:actualRange: not being implemented. Getting this method returning proper position for any range would likely be quite tricky, but for the purpose of positioning the popup just returning current caret location (could be provided through flutter/textinput channel) should be enough.
I also noticed that while the accent selection menu is visible, left/right arrow events are swallowed by flutter and not delivered to textInputContext, which means that keyboard navigation in the accent selection popup is not possible.
cc @cbracken
GreenLim
Metadata
Metadata
Assignees
Labels
a: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsplatform-macBuilding on or for macOS specificallyBuilding on or for macOS specifically
