You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand this correctly, only the web version of the slider needs a step attribute, right? I don’t see any reference to it in the native version.
EDIT: Nevermind, I realized that both versions of the widget need to have the same interface.
Trying the web demo, when an
input type=range
slider has focus, I expect to be able to use the arrow keys to change the value.https://github.com/hecrj/iced/blob/ead4186870d1b46015986f702dd63382498060fc/examples/tour/src/main.rs#L394-L403
This
step=0.01
could be part of the issue:https://github.com/hecrj/iced/blob/ead4186870d1b46015986f702dd63382498060fc/web/src/widget/slider.rs#L117-L121
Is the state of the demo enforcing the integer-rounding? So, arrow-right makes the value 50.01, but then the state rounds it back to 50?
Edit: most everything else is keyboard-accessible, so we should celebrate that! 🌮 🎉
The text was updated successfully, but these errors were encountered: