You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
Currently it is not possible to have two elements that target the same canvas. In such case, only the first processed element may open the canvas, the other element is ignored.
Example code that fails:
<buttonclass="offcanvas-toggle" data-toggle="offcanvas" data-target="#js-bootstrap-offcanvas-example">Click me</button><buttonclass="offcanvas-toggle" data-toggle="offcanvas" data-target="#js-bootstrap-offcanvas-example">Click me too</button><divid="js-bootstrap-offcanvas-example">I am the offcanvas content</div>
The expected behaviour would be to have the canvas being opened by any buttons that have the correct target.
The text was updated successfully, but these errors were encountered:
B-Prod
added a commit
to B-Prod/Bootstrap-Offcanvas
that referenced
this issue
Feb 14, 2019
Currently it is not possible to have two elements that target the same canvas. In such case, only the first processed element may open the canvas, the other element is ignored.
Example code that fails:
The expected behaviour would be to have the canvas being opened by any buttons that have the correct target.
The text was updated successfully, but these errors were encountered: