-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
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
Update offcanvas.md To Mention Adding data-bs-target for Close Buttons in Offcanvas Components #41325
Conversation
I edited and reorganized the content there. Thanks! |
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.
Uwu
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.
Thanks for the PR @ASchoe311 and @mdo for the edit 👌
LGTM! It sounds clearer for the users :)
Just added a comment for you Mark related to a typo.
Added a note in the Responsive section to indicate that "Close" buttons in responsive offcanvas components must have a data-bs-target attribute to function.
Added a line break for better visual clarity and improved wording
Co-authored-by: Julien Déramond <[email protected]>
Description
Added a note in the Responsive section to indicate that "Close" buttons in responsive offcanvas components must have a data-bs-target attribute to function.
Motivation & Context
It is unclear that data-bs-target is required for the close button in responsive offcanvas components. I was only able to realize this by finding an open issue from 2022.
Type of changes
Checklist
npm run lint
)Live previews
Related issues
#36962