Bug Fix: Add check for DecoratorNode
for horizontal table navigation.
#6129
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Pressing the left-arrow key in the first table cell with a decorator node or the right-arrow key in the last table cell with a decorator node previously moved the selection outside the table instead of selecting the node.
Added a check for
DecoratorNode
when moving horizontally through a table.Closes: #6128
Test plan
Before
https://www.loom.com/share/98a1761d09574eb895290b80bfcf85ef?sid=134ed533-67b9-42da-bf2d-06d12bb053a8
https://www.loom.com/share/9a2d3376839b4c48b0a672a0ee0207c3?sid=6b6d2918-d603-4974-a314-17063571c492
After
https://www.loom.com/share/269473b64fbb4c7eb34f5aca0a9d1ee5?sid=bdaa7cad-ecc8-4841-a844-932b8e72621c