Skip to content

Commit

Permalink
Do not propagate arrow events from Table Widget (#10859)
Browse files Browse the repository at this point in the history
A trivial fix for bug reported in #10856

Without it, navigating selection in table widget is also displacing node.
  • Loading branch information
farmaazon authored Aug 21, 2024
1 parent a9198c8 commit c294e05
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ export const widgetDefinition = defineWidget(
:singleClickEdit="true"
:stopEditingWhenCellsLoseFocus="true"
@keydown.enter.stop
@keydown.arrow-left.stop
@keydown.arrow-right.stop
@keydown.arrow-up.stop
@keydown.arrow-down.stop
@keydown.backspace.stop
@keydown.delete.stop
@cellEditingStarted="cellEditHandler.cellEditedInGrid($event)"
@cellEditingStopped="cellEditHandler.cellEditingStoppedInGrid($event)"
@rowDataUpdated="cellEditHandler.rowDataChanged()"
Expand Down

0 comments on commit c294e05

Please sign in to comment.