You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Behavior
If you cause 2 modals to open during discussion composing, all modals open after the discussion is created are broken until the single page app is reloaded. No errors appear in the console.
Steps to Reproduce
Open new discussion composer
Fill title and content but leave language and tags empty
Language modal appears, select a language
Tags modal appears, select a tag
On the new discussion page, click "rename", "edit tags" or other modals like FoF Mason
The modals that open on the new discussion page can't be closed by clicking the backdrop or the cross icon. Title edit doesn't work and spins forever. Tag edit works but the modal never closes.
No error is logged to the javascript console. Backend errors are irrelevant since no requests are made when the error occurs.
Possible solution(s)
I'm really not sure what's going on. I haven't tried back on Flarum 1.4 to check if it's a stackable modal change that causes this.
I tried with both regular and admin users, both have the issue.
Originally I thought my Composer Page extension caused the issue but I was able to disable everything else and still reproduce.
I'm not sure it's specific to Discussion Language, it might just be because 2 modals are open in close succession, or maybe because one modal is still being closed while the page changes.
I suspect maybe the new stackable modal context feature freaks out and keeps the context on a modal that no longer exists, preventing to interact with any other modal.
Note: modals can still be closed via app.modal.close() in the browser console. No errors when running that command either.
The text was updated successfully, but these errors were encountered:
clarkwinkelmann
changed the title
Modals stop working if composer opened both tags and discussion modals before
Modals stop working if composer opened both tags and language modals before
Sep 22, 2022
Bug Report
Current Behavior
If you cause 2 modals to open during discussion composing, all modals open after the discussion is created are broken until the single page app is reloaded. No errors appear in the console.
Steps to Reproduce
The modals that open on the new discussion page can't be closed by clicking the backdrop or the cross icon. Title edit doesn't work and spins forever. Tag edit works but the modal never closes.
No error is logged to the javascript console. Backend errors are irrelevant since no requests are made when the error occurs.
Environment
Possible solution(s)
I'm really not sure what's going on. I haven't tried back on Flarum 1.4 to check if it's a stackable modal change that causes this.
I tried with both regular and admin users, both have the issue.
Originally I thought my Composer Page extension caused the issue but I was able to disable everything else and still reproduce.
I'm not sure it's specific to Discussion Language, it might just be because 2 modals are open in close succession, or maybe because one modal is still being closed while the page changes.
I suspect maybe the new stackable modal context feature freaks out and keeps the context on a modal that no longer exists, preventing to interact with any other modal.
Note: modals can still be closed via
app.modal.close()
in the browser console. No errors when running that command either.The text was updated successfully, but these errors were encountered: