-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
Error in the console of Firefox when using handler of popup-hide event of QSelect #2469
Comments
Thanks for reporting this issue, @me21! I can confirm this bug for Firefox. When logging the nicegui/nicegui/templates/index.html Lines 76 to 94 in ea18324
But I'm not sure what it means and how to detect and ignore it. |
It appears that originalTarget is a property supported by Firefox only, so I decided to filter it out and it seems no error is thrown now. I've created a pull request, please review. |
Description
I get the following error in the console of Firefox when I use a handler for popup-hide event of QSelect control:
Code to reproduce:
Open the dropdown list, then click on the next input control to close it.
In Microsoft Edge, no such error happens.
If I click somewhere else (not on a control), no such error happens either.
Probably related: https://stackoverflow.com/questions/38174551/javascript-error-in-firefox-only-permission-denied-to-access-property-tojson. Maybe there's a circular reference somewhere.
The text was updated successfully, but these errors were encountered: