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

Changable size of touchable area of the thumbImage #227

Open
trashcoder opened this issue Sep 17, 2020 · 3 comments
Open

Changable size of touchable area of the thumbImage #227

trashcoder opened this issue Sep 17, 2020 · 3 comments
Labels
feature request in repro Issue has been added to the repro app

Comments

@trashcoder
Copy link

Describe the Feature

With the possibility to add a thumb image, it would be good to make the whole image touchable. Actually you can only touch a little area in the center of the image.

Possible Implementations

Just like react-native-slider it could be implemented in props as "thumbTouchSize".

Related Issues

@jawwad22
Copy link

jawwad22 commented Nov 26, 2020

you can acheive this feature in this way

style={ {
transform: [{ scaleX: .75 }, { scaleY: .75 }, ) }]
} }

@trashcoder
Copy link
Author

Thank you, but while scaleY works, scaleX does nothing:
image

@BartoszKlonowski BartoszKlonowski added this to To be analyzed in Slider-Board via automation Sep 17, 2021
@endruuu
Copy link

endruuu commented Jan 4, 2022

Yeah, scaleX doesn't work if we wrap the slider inside a class component. But, it works within a functional component.
I tried on version 4.1.10.

@BartoszKlonowski BartoszKlonowski moved this from To be analyzed to Backlog in Slider-Board Apr 26, 2022
@BartoszKlonowski BartoszKlonowski added the in repro Issue has been added to the repro app label Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request in repro Issue has been added to the repro app
Projects
Slider-Board
  
Backlog
Development

No branches or pull requests

4 participants