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
Is your feature request related to a problem? Please describe.
I want to use react-zoom-pan-pinch inside of a carousel and whenever the image can't be dragged more to a direction the events should be passed to the carousel library so the mouse drag will move the carousel instead.
Describe the solution you'd like
Whenever the image can't be dragged more all events will not be prevented but passed through again as if panning={{disabled: true}} is set.
Describe alternatives you've considered
Don't have any.
Additional context
See here. When the image can't get moved more the events should not be prevented anymore. So even a browser scroll could work again when the image has reached the boundary.
The text was updated successfully, but these errors were encountered:
stuck on the same problem. I want to scroll the page, when the limit is reached. I guess I could implement it myself by disabling the library when a boundary is reached and the drag is in this direction? For me this is a particular dealbreaker with this library since the image covers most of the viewport. So the user can't effectively navigate the page any further
Is your feature request related to a problem? Please describe.
I want to use react-zoom-pan-pinch inside of a carousel and whenever the image can't be dragged more to a direction the events should be passed to the carousel library so the mouse drag will move the carousel instead.
Describe the solution you'd like
Whenever the image can't be dragged more all events will not be prevented but passed through again as if
panning={{disabled: true}}
is set.Describe alternatives you've considered
Don't have any.
Additional context
See here. When the image can't get moved more the events should not be prevented anymore. So even a browser scroll could work again when the image has reached the boundary.
The text was updated successfully, but these errors were encountered: