I have found where the problem is. In “all-bootstrap-blocks/src/scss/bootstrap-5.0.2/_offcanvas.scss” the offcanvas-backdrop class has wrong values.
.offcanvas-backdrop {
position: fixed;
top: 0;
left: 0;
z-index: $zindex-modal-backdrop;
width: 100vw;
height: 100vh;
background-color: $modal-backdrop-bg;
// Fade for backdrop
&.fade { opacity: 0; }
&.show { opacity: $modal-backdrop-opacity; }
}
here it should be offcanvas-backdrop. But it is currently somehow modal.
The offcanvas works fine with other bootstrap versions.
It would be helpful if it s fixed, as the version 5.0.2 is the default.