-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Add file and add folder dialog can be opened at the same time #1003
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
Comments
thanks for reporting! i agree that the interaction with the add file/add folder dialogs is weird. |
I agree on this as well , dialog boxes , dropdowns and modals should close on leaving focus |
I think this can be implemented by adding a layer between the modal and the ide or by setting a state key and disabling the interactions with the interface. I believe that there exists a key already to denote whether a modal is open or not. Which method is better? @catarak |
i think, also, these could be combined into one modal. i think the way the modals being open/closed right now is not the best. it's stored in the redux store (which i don't think it should be), and i think it could be just in the component state. |
Yes @catarak modals are related to the ui state and all ui related state should live in the component itself and not in redux store. |
Will send a pr if you want to make these changes |
@catarak what is understand is the new folder/file model should close whenever we click anywhere else, pluse the new file and new folder model should not be opened at the same time. |
@neelesh7singh that is correct! |
Uh oh!
There was an error while loading. Please reload this page.
Nature of issue?
Details about the bug:
Being logged in makes this stand out even more since the add file dialog will be larger and partially visible under the add folder dialog.
It might be a good idea to disallow interaction with the rest of the page when a dialog is open or to dismiss the dialog when the user clicks outside of it. Similarly to the settings dialog.
The text was updated successfully, but these errors were encountered: