-
-
Notifications
You must be signed in to change notification settings - Fork 834
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
Fix Buggy Modals #2080
Fix Buggy Modals #2080
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this change locally, and it worked perfectly.
To reproduce, I had to open the developer tools and make them extremely tall. Not sure why the size of the available space causes issues with Bootstrap 3's modal plugin, but onready
shouldn't be called twice anyway (see line 33).
Thanks for your effort!
This doesn't fix extension settings modal's issue.
Here are some quotes from @datitisev:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also just tested locally using the instructions provided by @datitisev to replicate the issue and this PR fixes the issue.
Some modal issues are still a mystery, i had the same missing class problem while developing the Diff extension and i end up adding it manually. Maybe we should accept this PR as a solution for the tag selection modal issue (or we can just call it "a fix for double |
Thanks for this fix. I just merged and deployed it, but seemingly it doesn't fix the issue with the edit tags modal 😞 |
@luceos I can confirm that this PR fixed both modals |
@the-turk my apologies, it seems I had been too fast with updating discuss. Compilation of the dist files hadn't been completed yet, I can confirm the PR works, thank you! |
Fixes #1504
Fixes #1813
Changes proposed in this pull request:
First commit was proposing to change margin values for
@tablet-up
breakpoint as seen on Bootstrap stylesheets. Evethough it fixes the issue, i wasn't happy with it and did some further research. Eventually, i noticed that we're callingonready()
method ofModalManager
component twice [Line 33 & 57]. First call waits for transitions to be complete and the second one seems useless. Made some conversation with @datitisev on Discord and now we're here.Reviewers should focus on:
I know this one is hard to catch since it seems sporadic but try to test it with developer tools docked to bottom of the browser (make it bigger until you succeed).
Note that zooming out from the page before clicking on the "Choose Tags" button also fixes the issue (as stated by @sometao)
so it should be something related with viewport heights.I look forward to your reviews and I need to fix this since it effects some of my modal related extensions.
Screenshot
https://vimeo.com/399523797
Confirmed
composer test
).