Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Arrow keys move selection outside of table instead of selecting DecoratorNode #6128

Closed
serey-roth opened this issue May 17, 2024 · 0 comments

Comments

@serey-roth
Copy link
Contributor

Pressing the left-arrow key in the first table cell or the right-arrow key in the last table cell, both of which containing a decorator node, moves the selection outside the table instead of selecting the node.

https://www.loom.com/share/98a1761d09574eb895290b80bfcf85ef?sid=b8207d29-c44d-4a7e-a9b9-f36c073e4b50

https://www.loom.com/share/9a2d3376839b4c48b0a672a0ee0207c3?sid=5192f2ef-b2cd-4a91-8b7e-192e2c85b9ba

Lexical version: 0.15.0

Steps To Reproduce

  1. Create a 2x2 table.
  2. Insert a decorator node (e.g PollNode) in the first cell (or last cell).
  3. Select the table cell.
  4. Press the left-arrow (or right arrow) key.

The current behavior

The selection moves outside the table.

The expected behavior

The decorator node should be selected.

@serey-roth serey-roth changed the title Bug: Bug: Arrow Keys Move Selection Outside Table with Decorator Nodes May 17, 2024
@serey-roth serey-roth changed the title Bug: Arrow Keys Move Selection Outside Table with Decorator Nodes Bug: Arrow keys move selection outside of table instead of selecting DecoratorNode May 17, 2024
@StyleT StyleT closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants