Closed flozz closed 8 years ago
I just made some really little test and why not just removing the !important
in the CSS ?
By removing it it's working as expected. I just tested it with nothing fancy for the moment.
If my memory is good, the !important
was added because one of the layouts break the slider by overriding the display property of its children...
It is the BoxLayout
→ https://github.com/wanadev/PhotonUI/blob/master/less/base/layout/boxlayout.less#L57
But it does this for a good reason too... I will have to make some tests to fix that...
Nothing happen when setting the
visible
property of thephotonui.Slider
tofalse
. This is caused by adisplay: flex !important;
in the CSS...Example code to reproduce:
Expected: Slider should not be displayed. Current Result: The slider is visible.