Actions
Bug #9556
openCannot hide widgets with bootstrap5 d-* classes
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/01/2022
Due date:
% Done:
0%
Estimated time:
Description
Hi,
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 almost 3 years 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.
Actions