re-resizable icon indicating copy to clipboard operation
re-resizable copied to clipboard

Fix width/height change via prop change

Open pionl opened this issue 7 years ago • 2 comments

When sending first size via prop (200x300), and then changing size via prop (300x200) then the state has old size (200x300) but renderers 200x300 until onResizeStart is started (renders 300x200) until onMouseMove is triggered.

pionl avatar Oct 25 '17 19:10 pionl

@pionl Thanks for your PR. Could you please provide reproduced sample in webpackbin if you get a chanece? https://www.webpackbin.com/bins/-Ku4nRhImIfnt9N08lGu

bokuweb avatar Oct 27 '17 10:10 bokuweb

Sure thing, on this easy test you can see the incorrect size after clicking the button and using resize.

https://www.webpackbin.com/bins/-KxSjcMvj99YfILTTyS3

pionl avatar Oct 27 '17 12:10 pionl