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

AddElementPopoverComponent button submits edit form #890

Open
GuySartorelli opened this issue Apr 7, 2021 · 0 comments
Open

AddElementPopoverComponent button submits edit form #890

GuySartorelli opened this issue Apr 7, 2021 · 0 comments

Comments

@GuySartorelli
Copy link
Member

GuySartorelli commented Apr 7, 2021

The StatelessHoverBar react component omits the button type, which makes it default to being a submit button. This means pressing the enter key while in an input field triggers this button instead of a true form submit button, and also sends unnecessary form submit events when the form isn't actually being submitted.

#869 was intended to fix this, but was closed due to causing another issue - so the problem is still not resolved.

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

No branches or pull requests

2 participants