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

feat: add number feedback to range slider, minor change onSlidingComplete #336

Merged

Conversation

CezarCobuz
Copy link
Contributor

@CezarCobuz CezarCobuz commented Feb 28, 2022

Issue: discussion-334

What I did

Added text value for number range based on this discussion
Non-related to discussion: changed onSlidingComplete to onValueChange for faster feedback.

How to test

Can be testing using existing Number control > Range

range.rn-sb.mov

@CezarCobuz CezarCobuz requested a review from dannyhw as a code owner February 28, 2022 21:46
@CezarCobuz CezarCobuz changed the title Add number feedback to range slider, minor change onSlidingComplete feat: add number feedback to range slider, minor change onSlidingComplete Feb 28, 2022
@dannyhw
Copy link
Member

dannyhw commented Mar 1, 2022

Thanks for your contribution 🙏🙇‍♂️.

Looks good! Only thing is I'd like to see how it looks on Android too. I can give it a quick test tomorrow probably.

@CezarCobuz
Copy link
Contributor Author

Thanks for your contribution 🙏🙇‍♂️.

Looks good! Only thing is I'd like to see how it looks on Android too. I can give it a quick test tomorrow probably.

Here is a preview on android:
https://user-images.githubusercontent.com/36707637/156105293-0ff1b30a-45ac-4503-b6ff-1467003478b9.mov

@dannyhw
Copy link
Member

dannyhw commented Mar 5, 2022

thanks @CezarCobuz sorry for the delay, having a look now!

@dannyhw
Copy link
Member

dannyhw commented Mar 5, 2022

There is some strange behaviour with the slider on android, I don't think its caused by your changes though.

@dannyhw
Copy link
Member

dannyhw commented Mar 5, 2022

Made a small adjustment, hope you don't mind!

image

Great contribution, thanks again 🙇

@dannyhw dannyhw merged commit 6761782 into storybookjs:next-6.0 Mar 5, 2022
@dannyhw
Copy link
Member

dannyhw commented Mar 5, 2022

now live in 6.0.1-beta.5

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

Successfully merging this pull request may close these issues.

2 participants