column-resizer icon indicating copy to clipboard operation
column-resizer copied to clipboard

RTL Support

Open mike-shtil-loop opened this issue 1 year ago • 1 comments

In every project's life there's the inevitable "RTL support" issue. 😃

Under <html dir="rtl"> the flexbox dir flips as expected, but the resizer drag handler still assumes dragging left decreases the column width and right increases. This results in visually-opposite behavior to use expectations.

I imagine the fix isn't hard, could have a crack at a PR, but wanted to agree on a plan here first.

mike-shtil-loop avatar Mar 14 '24 09:03 mike-shtil-loop

Sounds great! Looking forward to your pull request 😄

runjuu avatar Mar 14 '24 16:03 runjuu

@runjuu took some time to get to 😀 but here is the PR: https://github.com/runjuu/column-resizer/pull/13

mike-shtil-loop avatar Feb 26 '25 13:02 mike-shtil-loop

Hi @mike-shtil-loop, thanks for the PR! I've merged it and published a new version with a small fix.

runjuu avatar Apr 23 '25 17:04 runjuu