-
Notifications
You must be signed in to change notification settings - Fork 159
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
Opening and closing file from search fails on spaces overview #11978
Comments
I am getting that error in the console as well but the UI does not really die and I am able to continue my work. Strange... |
It only happened when the right sidebar was open, if I remember correctly. Otherwise I only had the console error as well. |
Makes no difference whether it's opened or closed in my case. |
Seems like once the text editor is exited, the file is somehow selected as a space. I guess that's not the expected behaviour. |
@JammingBen Should file be ever allowed to be selected as space? My understanding was that space is more of a directory. |
Hmm strange, I just retried it and it still completely breaks for me 🤔
What exactly do you mean by "the file is selected as a space"? But it sounds really weird yes, a space behaves more like a directory in general. |
There's a prop on the file sidebar component called
|
Ahh okay, yes this is definitely weird. The Also, I just noticed out that Web only dies when using the dev server via |
Ah, okay, this was the difference. Dev server dies for me as well.
Just did a simple filter with type space and both dying and the error are gone. I'll adjust it to use the |
Describe the bug
Opening and closing a file from search preview fails on the spaces overview page.
Steps to reproduce
Expected behavior
The editor is being closed, everything works as expected.
Actual behavior
The UI basically dies and becomes unusable, console logs
space?.canListVersions
.The text was updated successfully, but these errors were encountered: