On initialization the offcanvas registers click listeners. Although it was good for simple buttons, if a button contains another element and user clicks on this, the click seems that through delegation, is triggering two times, so the offcanvas instantly toggles itself
Closes #33457 (closed)
could be fixed by #33545