Cannot hide widgets with bootstrap5 d-* classes
I'm using WStackedWidget with d-flex widgets.
All of bootstrap5 display (d-*) classes set them as !important (e.g. display: flex!important).
This property is not overwritten when hiding widget (simple display: none).
Possible solution is to move widget inside another WContainerWidget (div), but this in theory can break bootstrap5 grid somehow.
Updated by Egor Pugin over 1 year ago
For reference https://stackoverflow.com/questions/47514692/bootstrap-4-list-items-that-have-d-flex-class-do-not-respond-to-hide
I tried to move my widget inside div, but styles are broken with it.