-
Notifications
You must be signed in to change notification settings - Fork 2
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
Duplicate/broken modals displayed #572
Comments
I'm linking this to #552 since the symptoms seem consistent. Some items are missing from the modal, unable to select things, etc. |
I've come close to fixing this. Looking at this discord conversation from a while back, it looks like someone had to remove the modal from the dom once the modal closes. Applying that solution, we stop getting the duplicate modal from the steps above. BUT. Since the modal is out of the dom, you need to refresh the page to open it again (ie you can't open the modal, close it, and then re-open it (since at this point it doesn't exist in the dom)).
Also relevant: "The official ui-modal component does not move the modal DOM element outside of the containing component, thus creating numerous issues..." from https://github.com/CrushedPixel/ember-semantic-proper-modals |
After playing around a little more more, I found a slightly more less functional (but more interesting) working PoC (see video below). I turned the modal into a https://recordit.co/ZZIkS91GCh Here's what the handlebar template for the modal looks like in that example
I ran across this by comparing against the Create New Tale modal which works fine. At some point I removed the actions and noticed semi-desirable (no duplicate modal, but no actions) behaviour. |
Problem
As discussed at length in #563, we have an issue with Semantic UI modals not behaving properly.
Sometimes, multiple modals are launched and all need to be dismissed before the user can once again interact with the dashboard. Other times no duplicate modals are shown, but the modal that is shown has form inputs that do not function.
Modals that appear to show these symptoms:
More investigation is definitely needed into what is going on here.
Steps to Reproduce
Expected Results
Actual Results
The text was updated successfully, but these errors were encountered: