-
Notifications
You must be signed in to change notification settings - Fork 1
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
Options page does not work with Chrome/Chromium #12
Comments
And I vaguely remember there was some Promise one should comment that would fix that bug. Did not you say something like that? Anyway, thanks for reporting it here, which is certainly the appropriate place. |
Yes, in rugk/awesome-emoji-picker#4 (comment). I said that developers can replace the above block with |
So… let's better find the real issue and the real solution for that, don't we? |
I investigated it several months ago and I believe the issue was that Firefox rejects the promise when a managed option is not found, but Chrome resolves it in that case, although just with an empty object... |
Okay, then theoretically, #12 should fix the issue then (untested). |
Yes, that works great! Thanks for fixing it. 👍 As expected, I do get some errors in the console, but they are probably better fixed with #11: Also, the Unicodify options page is very skinny (compared to the Awesome Emoji Picker above), but it probably just needs some CSS : |
Yeah, also that annoying wrap for helper texts becomes apparent there. |
This code block does not work in Chrome/Chromium:
AutomaticSettings/internal/LoadAndSave.js
Lines 167 to 178 in 26c51c6
It causes all the settings to be identified as managed, which effectively disables the options page:
This is currently blocking Chrome support for the Awesome Emoji Picker and Unicodify. It is also blocking me from using this library in several other extensions I am developing, like Colab Autorun and Connect.
Originally posted in rugk/awesome-emoji-picker#4 (comment).
The text was updated successfully, but these errors were encountered: