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

Drag to left is not working properly when child have overflowed image #637

Open
1 task done
yusa-imit opened this issue Feb 15, 2021 · 1 comment
Open
1 task done

Comments

@yusa-imit
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Same as Demo's Simple Case.
Code is almost same without inline styling.

Current Behavior

If silde's child have overflowed image, then move to right(same as drag to left) is not working.

Explain more details.
If the module have any overflowed image in child slides, then drag to left is broke. Seems like event is not occurs.
When I'm triggering drag to right(drag to right a little bit), and then move to left, then drag to left working.

Steps to Reproduce (for bugs)

You can test it with codesandbox.
I'd copied almost same code that I used.

CODE SANDBOX HERE

Context

Your Environment

Tech Version
react-swipeable-views 0.13.9
React 17.0.1
platform chrome
etc
@Yakimych
Copy link

Could it be the same reason as in this issue: #228?
You could try setting ignoreNativeScroll, that was implemented in the linked PR, and see if it solves the problem.

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

2 participants