This repository was archived by the owner on Jan 6, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 768
fxHide breaks style of non-"display: box" elements #141
Labels
Milestone
Comments
Fixed in PR #143 |
kara
pushed a commit
that referenced
this issue
Feb 2, 2017
karlhaas
pushed a commit
to karlhaas/flex-layout
that referenced
this issue
May 3, 2017
It looks like this still happens (or maybe happens again?) in Firefox 53.0.3 with When I add |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As part of a responsive UI, there are times when we want to hide some elements of our UI (not whole parts, just a bunch of elements e.g. an item's label) on small screens.
As an example, I'd expect the following to work so that on non-xs screens, it displays the label inline next to the icon, and on xs screens only the icon remains:
The show/hide functionality now works as of
v2.0.0-beta.4
, but it looks like it toggles only betweendisplay: none
anddisplay: block
, ignoring the actual display mode the element was in beforefxHide
got applied.I think
fxHide
should take into account the element's actual display mode and not interfere with it.The text was updated successfully, but these errors were encountered: