-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Cannot Disable Control Buttons #530
Comments
This was referenced Aug 23, 2017
Please ignore the first reference. I mistakenly PR'd to my own forked repo! |
Looking for some review, please and thank you! I'll add any documentation or anything else I may have missed, just let me know. |
@leecade anybody out there? haha |
@arribbar Hello there I noticed you're active on here, would you like to check out my small proposition? |
#531 merged now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which OS ?
iOS
Version
Which versions are you using:
Expected behaviour
Ability to use some prop to selectively disable either control button (specifically to match the scrollEnabled={false} use case).
Actual behaviour
Cannot disable either control button by any means.
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce
My Use Case
Basically, I have a slide in a swiper where the user can only proceed to the next slide if they meet a certain condition, so I need to selectively disable the nextButton.
I can see in the source code that the reason the code above to reproduce doesn't work is because the custom element you pass in becomes wrapped in a touchable which you cannot modify to disable, so I'm happy to PR a quick new prop if you'd like :)
The text was updated successfully, but these errors were encountered: