Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

offcanvas does not work if there are more elements inside the button. #86

Open
isanovich opened this issue Mar 31, 2021 · 2 comments
Open

Comments

@isanovich
Copy link

No description provided.

@isanovich
Copy link
Author

isanovich commented Mar 31, 2021

Example:
<a class="btn btn-primary" data-bs-toggle="offcanvas" href="#filterMobile" role="button" aria-controls="offcanvasExample"><span>Button1</span></a>

@Dart18
Copy link

Dart18 commented Apr 13, 2021

I ran into the same bug and I confirm that if the button contains another tag, eg: <i class="bi bi-list"></i>, it seems that the event is triggered twice

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants