-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-3872: Fix dropdown popover inside modal #580
Conversation
tischsoic
commented
Sep 23, 2022
Question | Answer |
---|---|
Tickets | https://issues.ibexa.co/browse/IBX-3872 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Tests pass? | yes |
Doc needed? | no |
License | GPL-2.0 |
@@ -444,7 +444,7 @@ | |||
return; | |||
} | |||
|
|||
const modal = this.container.closest('.modal'); | |||
const modalDialog = this.container.closest('.modal-dialog'); |
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.
Clicking inside .modal
, but outside .modal-dialog
is treated by Bootstrap as clicking outside modal, which may close it in some cases. Thus we render the dropdown popover inside .modal-dialog
.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
QA Approved on Ibexa Commerce 4.2.2-dev.
Merged-up:
|