react-grid-layout / react-resizable

A simple React component that is resizable with a handle.

Home Page:https://strml.github.io/react-resizable/examples/1.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resizable box is not getting resized if handle is nw,w or sw.

kn-karanjeetanand opened this issue · comments

Thanks for opening an issue!

Please select the type of issue you're reporting. For questions.

  • Bug
  • Feature Request
  • Question

Problem Report

Whenever we provide re-sizing handle as sw, w or nw, for a re-sizable box, the starting position doesn't gets changed. In other words, if I were to drag by nw handle inwards, meaning, I want to decrease the size of box, the x-axis movement makes the box expand along x-axis(instead of shortening it) and the y-axis does not get shortened. The same behavior is observed for above mentioned handles

System Info

Node Version: 12.19.0
Browser: Chrome
OS: Widows 10

Reproduction

If this is a bug report, please provide a reproduction of the issue by going to
https://codesandbox.io/s/9229wz40yo?fontsize=14.
Paste a link here to your working reproduction.