Open
Description
Repro:
- On Android, visit a message list that has a compose box.
- Touch the content input to focus it. A blinking cursor will appear, as will the keyboard.
- Dismiss the keyboard using either (a) the "back" gesture or button or (b) the keyboard's own button for being dismissed.
- The keyboard will vanish, making room again for the full height of the message list.
- Expected: The blinking cursor will also vanish.
- Actual: The cursor keeps blinking.
In particular there doesn't seem to be any way to get the cursor to stop blinking, short of exiting the page entirely.
The reason the cursor keeps blinking is that the text field is still focused. This is one of several symptoms of that fact; the others (#1098, #1100) are less common but can be much more annoying. This symptom and the others might or might not get fixed by the same commit, depending on how we fix them.
A workaround we don't intend to use would be to pass ScrollViewKeyboardDismissBehavior.onDrag
to the message list's scroll view, so that trying to scroll causes the keyboard to vanish and the text input to lose focus. See reasoning in chat.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status