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

Resizing on mobile with page scrolling #522

Closed
bureson opened this issue Sep 13, 2019 · 0 comments
Closed

Resizing on mobile with page scrolling #522

bureson opened this issue Sep 13, 2019 · 0 comments

Comments

@bureson
Copy link

bureson commented Sep 13, 2019

Overview of the problem

The page keeps scrolling when resizing the element. Is resizing on mobile devices something that you would like to support? This is most likely a feature request.

I'm using re-resizable 4.11.0 [x.x.x]

My browser is: Chrome for Android

I am sure this issue is not a duplicate? Pretty sure (went through active and closed threads).

Description

When resizing element on a mobile phone (especially vertically), the page keeps scrolling. I tried using e.preventDefault() or e.stopPropagation() on onResize method, but it doesn't seem to have any effect.

Steps to Reproduce

It is quite easy to reproduce using the available demo at CodeSandBox

Expected behavior

I would like to resize the dragged element, but the page should keep it's Y position.

Actual behavior

The page keeps scrolling underneath the element.

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

1 participant