Skip to content
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

Panel uses window.back() while closing a popup from widget in the panel #311

Open
knightofdemons opened this issue May 14, 2024 · 0 comments

Comments

@knightofdemons
Copy link

Describe the bug
Panel redirects to a previous visited site when clicking outside of the popup of a widget, while inside the panel.

To Reproduce
Steps to reproduce the behavior:

  1. Create a iqontrol side-panel with a light
  2. Visit any website and go to iqontrol dashboard afterwards in the same tab
  3. Open sidepanel, open advanced controls (popup) of the light
  4. Click inside the panel but outside the popup, like you would do to close the popup again
  5. Browser gets redirected to the previously visited "any website" instead of closing the popup

Expected behavior
popup closes

Versions:
v2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant