We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Link a modal backdrop to its opeen modal by data-attribute.
So instead of
<div class="modal fade show" id="staticBackdropLive" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLiveLabel" aria-modal="true" role="dialog" style="display: block;"> ... </div> <div class="modal-backdrop fade show"></div>
i would propose adding the id of the modal as a data-attribute in the backdrop:
<div class="modal fade show" id="staticBackdropLive" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLiveLabel" aria-modal="true" role="dialog" style="display: block;"> ... </div> <div class="modal-backdrop fade show" data-id="staticBackdropLive"></div>
When working with mutliple modals on top of each other, you would be able to determine, which backdrop belongs to which modal
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Prerequisites
Proposal
Link a modal backdrop to its opeen modal by data-attribute.
So instead of
i would propose adding the id of the modal as a data-attribute in the backdrop:
Motivation and context
When working with mutliple modals on top of each other, you would be able to determine, which backdrop belongs to which modal
The text was updated successfully, but these errors were encountered: