react-grid-layout / react-grid-layout

A draggable and resizable grid layout with responsive breakpoints, for React.

Home Page:https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html

Repository from Github https://github.comreact-grid-layout/react-grid-layoutRepository from Github https://github.comreact-grid-layout/react-grid-layout

[rtl resize] In RTL resize, when I try to shrink it, it gets bigger instead

TokeyJerry opened this issue · comments

Describe the bug

In the case of rtl, the left and right operations of the resize function are reversed. You can refer to the example provided below.

Your Example Website or App

https://codesandbox.io/p/sandbox/awesome-snow-zf5cv9?file=%2Fpublic%2Findex.html%3A10%2C9

Steps to Reproduce the Bug or Issue

  1. Go to https://codesandbox.io/p/sandbox/awesome-snow-zf5cv9?file=%2Fpublic%2Findex.html%3A10%2C9
  2. Resize the one of box, you can see the issues

Expected behavior

as normal

react-grid-layout library version

react-grid-layout@1.4.4

Operating System Version

macos

Browser

Chrome

Additional context

No response

Screenshots or Videos

No response