[Slider] Vertical slider #5775
Replies: 4 comments 6 replies
-
Hey @jotak! |
Beta Was this translation helpful? Give feedback.
-
Another option could be vertical tabs. This example is inside an expandable section but can be altered. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to remember the example you made. Do the names of the layers appear next to the slider or is it just the slider? If the topology control buttons are visible (zooms, reset, fit.etc.) it may confused as a simple zoom in/out and not changing scope. |
Beta Was this translation helpful? Give feedback.
-
Hello @andrew-ronaldson , |
Beta Was this translation helpful? Give feedback.
-
Hello team,
It would be neat to have a vertical orientation for the Slider component.
In our product (netobserv, which uses patternfly), I am introducing a vertical slider: netobserv/network-observability-console-plugin#344
The implementation may probably sound hacky to you, since I'm simply rotating the PF slider - but I also needed to adapt the input coordinates handling. I tried a cleaner implementation not based on rotation, but my limited skills in CSS made me give up on that. So, sticking with my hack for now, as it seems to be working well.
PS: if you want to have a look, I isolated the diff to
Slider.tsx
in a single commit: netobserv/network-observability-console-plugin@7634e18#diff-a4a967f9731e75782686c493d2fe88e9be81f4a73c2b2d4d3edf06f8bec9e2bccc @andrew-ronaldson
Beta Was this translation helpful? Give feedback.
All reactions