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
Describe the bug
When in a dialog, pressing the "Enter" key when focusing a field that doesn't handle the event (keydown enter) will cause the dialog to be closed.
I'm not sure if this is a bug or feature, but it's a new (undocumented?) behavior since 4.54.0.
Click on 'Show Modal', optionally write something in the first input field
Press Enter
The dialog closes
Expected behavior
When repeating the above, but on 4.53.5 the dialog is not closed.
Version
ids-enterprise: 4,54,0 to current latest
Platform
Browser Name: Chrome
Additional context
Causing some issues in multiple projects and dialogs, especially where "Enter" is handled in an unexpected way, for example an Autocomplete field where no value has been selected:
I guess it makes sense as a default. I think our issue is mainly that in some cases the "enter keypress" event bubbles up to the dialog unexpectedly (e.g an Autocomplete where no value is selected). But that's a separate issue.
Although I also guess it could be nice to be able to disable it, since it might be annoying when there's a modal with many fields, some of which requires "enter" to fill them out (textarea, dropdowns etc), while others will accidentally close the dialog.
Describe the bug
When in a dialog, pressing the "Enter" key when focusing a field that doesn't handle the event (keydown enter) will cause the dialog to be closed.
I'm not sure if this is a bug or feature, but it's a new (undocumented?) behavior since 4.54.0.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When repeating the above, but on 4.53.5 the dialog is not closed.
Version
Platform
Additional context
Causing some issues in multiple projects and dialogs, especially where "Enter" is handled in an unexpected way, for example an Autocomplete field where no value has been selected:
https://jira.infor.com/browse/LIME-7118
https://jira.infor.com/browse/MINGLEDEV-32468
The text was updated successfully, but these errors were encountered: