Skip to content

fix: Fix bug that could prevent dismissing field editors on Enter#9986

Open
gonfunko wants to merge 2 commits into
mainfrom
input-edit
Open

fix: Fix bug that could prevent dismissing field editors on Enter#9986
gonfunko wants to merge 2 commits into
mainfrom
input-edit

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

This PR prevents propagation of the Enter event in a field editor. For FieldDate, this prevented Enter from dismissing the date picker; although Enter committed the change and hid the picker, the global Enter keyboard shortcut was subsequently invoked and put the field back into editing mode. By stopping propagation, we prevent the keyboard shortcut from being invoked and causing unexpected side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants