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

Many <button> elements submit a form containing the designer #317

Closed
rhurling opened this issue Nov 12, 2023 · 0 comments · Fixed by #318
Closed

Many <button> elements submit a form containing the designer #317

rhurling opened this issue Nov 12, 2023 · 0 comments · Fixed by #318

Comments

@rhurling
Copy link
Contributor

rhurling commented Nov 12, 2023

Is your feature request related to a problem? Please describe.

It's the same problem as #280, but concerns all other <button> elements (for example the zoom controls currently are not usable for me, since they submit the surrounding form)

Describe the solution you'd like

The same solution as in #280 needs to be applied to all other elements (<button [...] to <button type="button" [...]).

Describe alternatives you've considered

I've tried capturing and stopping propagation of the event and forcing the type="button" attribute on all <button> elements after rendering, but that doesn't work reliably.

Additional context

No response

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

Successfully merging a pull request may close this issue.

1 participant