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

onResize fired before snapping to grid #783

Closed
dingzhanjun opened this issue Feb 11, 2023 · 1 comment · Fixed by #801 or SherfeyInv/vscode-jupyter#4
Closed

onResize fired before snapping to grid #783

dingzhanjun opened this issue Feb 11, 2023 · 1 comment · Fixed by #801 or SherfeyInv/vscode-jupyter#4

Comments

@dingzhanjun
Copy link

dingzhanjun commented Feb 11, 2023

Overview of the problem

I'm using re-resizable version [6.9.6]

My browser is: Safari and Chrome

I am sure this issue is not a duplicate?

Description

Steps to Reproduce

  1. First Step, add a Resizable component to app and set grid to [10, 10], add onResize callback
  2. Second Step, run app and try to resize it

Expected behavior

onResize gets fired when resize happens

Actual behavior

onResize gets fired whenever mouse move during the process of resizing(with snapping)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants