You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this will be important in two scenarios.
Imagine two paragraphs with a Panel in between them which contains a paragraph worth of content. If my cursor is half way along the top paragraph, tapping down should move to “the next line” which is either inside the same paragraph or inside the Panel. I’d expect my cursor to jump into the middle of the first line of the Panel.
Imagine we build a Table with a 2-dimensional array of Editors. If I tap down in a cell, I’d expect the cursor to move into the editor below. Similarly, if I move my cursor to the end of the content within a cell, tapping right should jump to the next cell to the right.
I believe we can leverage the protocol used for “us focusable”.
The text was updated successfully, but these errors were encountered:
This would be a nice feature. Thanks for the suggestion. I already have in my backlog a ticket to extent EditorViewDelegatedidReceiveKey to relay esc key. I am planning to add up/down and right/left to that as well. Once the keys are intercepted, it would be the parent container's responsibility to figure out what to do. This will keep it flexible enough to achieve what you have mentioned and also open enough to be extended even in the ways that we have not yet thought of. What do you think?
I believe this will be important in two scenarios.
Imagine two paragraphs with a Panel in between them which contains a paragraph worth of content. If my cursor is half way along the top paragraph, tapping down should move to “the next line” which is either inside the same paragraph or inside the Panel. I’d expect my cursor to jump into the middle of the first line of the Panel.
Imagine we build a Table with a 2-dimensional array of Editors. If I tap down in a cell, I’d expect the cursor to move into the editor below. Similarly, if I move my cursor to the end of the content within a cell, tapping right should jump to the next cell to the right.
I believe we can leverage the protocol used for “us focusable”.
The text was updated successfully, but these errors were encountered: