-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
After closing all documents, new document won't open #321
Comments
Hey, I agree that this is a bug, as a workaround you can create a custom DocumentDock and override IsEmpty and set it to false.
|
That's why I love open source :) I couldn't find the root cause before, but after you posted your workaround, it become obvious that something is wrong with updating |
Cool! I was just coming here to ask this exact question! |
Your solution is working nicely! |
@TobiArndt You are right, there was IsCollapsable property, but it wasn't respected. Changed the PR to take that into account and now the document dock shall not disappear provided you set IsCollapsable to false Screen.Recording.2024-03-10.at.16.54.34.mov |
I wanted to start to fix this problem and started reading the code and getting all its logic, and you just did it. Was reading your changes in your pr. Quiet amazing and skillfull! Works like a charme! |
After all documents are closed, new documents won't show up, despite being added to the Dock model.
Screen.Recording.2024-03-07.at.17.24.23.mov
Please note this is not a bug in the sample, I have the same issue in my app.
(Latest master: 9cded63)
The text was updated successfully, but these errors were encountered: