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

Duplicate popouts when page is refreshed #851

Open
borglin opened this issue Feb 2, 2025 · 0 comments
Open

Duplicate popouts when page is refreshed #851

borglin opened this issue Feb 2, 2025 · 0 comments

Comments

@borglin
Copy link

borglin commented Feb 2, 2025

Describe the bug
When I refresh a page containing a dockview layout with an open popout window it will restore the open popout window and when the stored layout config is loaded it will open another popout window.

To Reproduce
I created a repo, https://github.com/borglin/dockview-popout-repro, based on an example from https://dockview.dev/docs/core/groups/popoutGroups/ as that example didn't seem to work.

Steps to reproduce the behavior:

  1. Run npm run vite and open http://localhost:5173/
  2. Click popout on one of the groups
  3. Click save
  4. Refresh page
  5. (Allow popups if blocked by browser and refresh again)
  6. Two popouts are now open

Expected behavior
The page refreshes and one copy of the popout is restored

Screenshots
Image

Desktop (please complete the following information):

  • OS [MacOS]
  • Browser [Chrome v132, Safari 18.1]
  • Version [3.0.2]
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