Closed gsvavarsson closed 2 years ago
This would help us a lot 🙏
Thanks for your contribution, I will publish it to the npm after testing.
@delowardev thanks for the promp replies. I was using this sandbox for testing (still old package) if you want to check it out.
A new version has been published to the npm with your changes.
Thanks
Prevent submit when emoji picker is used inside a form.
Context
Currently if picker is embedded in to a form element the undefined buttons submit the form. This change will prevent that by adding type="button"
Summary
Preventing form submission on emoji/group click.
Relevant Technical Choices
Added
type="button"
to emoji and group buttons.Checklist