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

fromJSON error while the json include popoutGroups #747

Closed
chhsgithub opened this issue Oct 31, 2024 · 1 comment · Fixed by #748
Closed

fromJSON error while the json include popoutGroups #747

chhsgithub opened this issue Oct 31, 2024 · 1 comment · Fixed by #748
Milestone

Comments

@chhsgithub
Copy link

Describe the bug
api.fromJSON error while the json include popoutGroups

To Reproduce
with my own code when the json layout includes popoutGroups, it will cause an error "Error: Invalid grid element"
image

with https://dockview.dev/demo/, by using save and then load/refresh will cause empty dock

  1. action load
    popout->layout changed->load->dock empty
    https://github.com/user-attachments/assets/a3abe296-d534-43d9-8790-1fddbcaea1a9

  2. action refresh
    popout->layout changed->refresh browser tab->dock empty
    https://github.com/user-attachments/assets/f7cd3cc9-a87f-4c2e-8556-3af8e9cea7e1

@mathuo mathuo linked a pull request Oct 31, 2024 that will close this issue
@mathuo mathuo added this to the v2.0.0 milestone Nov 2, 2024
@mathuo mathuo reopened this Nov 3, 2024
@mathuo
Copy link
Owner

mathuo commented Nov 3, 2024

@mathuo mathuo closed this as completed Nov 3, 2024
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

Successfully merging a pull request may close this issue.

2 participants