-
Notifications
You must be signed in to change notification settings - Fork 80
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
Firefox/Safari on Mac: can't change skin tone #14
Comments
That blur event should only occur when you click _outside_of the skin tone picker. If you're trying to debug this, you may just comment out that entire thing, since it will probably be a bit annoying if, whenever you click inside of the DevTools, the skin tone picker disappears. I can't repro in Firefox 77 on Ubuntu, so I wonder if this is an OS-specific thing? I'll try to find a Mac to check. |
Huh, now that you mentioned... I checked and it only reproduces with an external Magic Trackpad. The Macbook's internal trackpad works fine. 🤦♂️ |
Huh, well that's still a bug I'd like to fix... I wonder how that is possible? |
Okay, it seems it's purely a timing issue and that I've Skinner-boxed myself into a pattern that is not there. I haven't exactly figured out everything yet, but: the problem reproduces in Firefox and Safari (but not Chrome) when you take longer between Here's me holding down the trackpad on Firefox (notice the list disappears): And here's Chrome, which on the Let me know if you're able to reproduce this on Linux! |
Thanks for the detailed explanation. On Linux, I cannot reproduce either with a separate mouse or with my built-in Dell XPS trackpad, in either Chrome, Firefox, or GNOME Web (WebKit). I will try to grab a Mac so I can test there! (My wife has one; I'll just bug her to borrow it when she's done. 😂) If it's just a timing issue, then probably we can replace the It's a shame that I can't use a more simple |
Confirmed reproduce in Safari on MacOS. I'll write a fix. |
Ah cool, let me know if I can help test it! |
* fix: remove blur/focusout event for now fixes #14 * test: disable test
The skin tone selector does not work on my Firefox 77 / macOS. For some reason, there's no
activeElement
on thefocusout
event when I click on a skin tone button.emoji-picker-element/src/picker/components/Picker/Picker.js
Lines 587 to 598 in 04f490a
The text was updated successfully, but these errors were encountered: