Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

picker on emoji:select inside form tag fire submiting form #209

Closed
olevihon opened this issue Jun 2, 2022 · 1 comment
Closed

picker on emoji:select inside form tag fire submiting form #209

olevihon opened this issue Jun 2, 2022 · 1 comment
Labels
bug Something isn't working pending Changes have been committed and will be included in the next release.

Comments

@olevihon
Copy link

olevihon commented Jun 2, 2022

Button inside form tag, when trigger emoji:select event fore form submiting

https://codesandbox.io/s/picmo-popup-demo-forked-ipboq0

cone inspection told that trouble in button tag around emoji without type

adding type="button" for button tag solved problem

umd version code :

var W = new q((({classes: e, emoji: t}) => `\n <button\n type="button"

please, fix this)

thanks!)

@olevihon olevihon changed the title picker on emoji:select submit form picker on emoji:select inside form tag fire submiting form Jun 2, 2022
@joeattardi joeattardi added the bug Something isn't working label Jun 3, 2022
@joeattardi
Copy link
Owner

Just committed a fix for this, it will be in the next release (5.1.2). Will close once 5.1.2 is released.

@joeattardi joeattardi added the pending Changes have been committed and will be included in the next release. label Jun 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working pending Changes have been committed and will be included in the next release.
Projects
None yet
Development

No branches or pull requests

2 participants