Skip to content

Allow interaction with underlying views in OverKeyboardView #1466

@ha3

Description

@ha3

In my chat application, I sometimes have single- or multi-selection inputs. In those cases, instead of showing the keyboard, I want to show the selectable items in the same area.

If I implement this in the vanilla way, the keyboard opens and closes, which creates a janky experience. To avoid that, I’m using OverKeyboardView to render the items on top of the keyboard while hiding the input, and that works perfectly.

There’s one issue, though: I still want the chat behind it to remain interactable. It seems like OverKeyboardView blocks interaction with anything underneath. I tried experimenting with pointerEvents, but couldn’t get it to work.

If there are no technical constraints preventing this, I think allowing passthrough interactions would be a great addition.

Metadata

Metadata

Assignees

Labels

OverKeyboardViewAnything related to OverKeyboardViewenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions