Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider size control #26

Open
raven42 opened this issue Jul 23, 2022 · 0 comments
Open

Slider size control #26

raven42 opened this issue Jul 23, 2022 · 0 comments

Comments

@raven42
Copy link

raven42 commented Jul 23, 2022

Would it be possible to add a control to change the size of the slider portion of the card? I am thinking instead of having the slider be the entire card height / width, if it would be possible to have the slider itself only be a smaller portion of the card.

Ultimately one issue I'm hoping to solve with this is when using the Home Assistant app on my phone. I have a dashboard that has a grid layout of a number of lights / switches in a 3x# layout. When attempting to scroll the page, I seem to get caught up on the sliders a lot even when the slider is set only left to right, but I'm trying to scroll up / down. It seems as though if I start with my thumb on top of any slider when in any position, it interprets the movement as adjusting the slider and not trying to scroll.

If we could have only a portion of the card be the slider position, then it would be easier to click on a clear part of the card that would allow proper detection of scrolling. It would also allow for a visually different appearance so if using a background image in the dashboard, the solid color sliders would be a little more clear to use, but also allow for some visual of the background to come through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant