-
Notifications
You must be signed in to change notification settings - Fork 57
Tapping on PlainText powered blocks does not make the block-holder selected #251
Copy link
Copy link
Closed
Description
What I want now is to be able to tap into a PlainText block, see the cursor appears, and make the Block automatically get selected (bubble the event up to get isSelected to be set to true).
Currently, what happens is you have to tap on the borders of the block to make it be selected.
This happens for PlainText-based blocks as well, so it should be easier to isolate the problem by not using RecyclerView nor Aztec to try and understand what's going on.
Ideas:
- make the touch event be grabbed first by the touchable area in the block-holder? (I mean, investigate around that)
- if that doesn't work, then using
onFocusin PlainText to bubble up aSelectedevent, that makesisSelectedturn to true for the block holder representing such a block. - furthermore, there are plans to use InputTextState-like state, but that's on a different level (keyboard handling will need this to be able to hide/show the keyboard not only on InputText but also on Aztec RN wrapper).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] BugSomething isn't workingSomething isn't working