react-resizable
react-resizable copied to clipboard
Add RTL Support
Thanks for opening an issue!
Please select the type of issue you're reporting. For questions.
- [ ] Bug
- [- ] Feature Request
- [ ] Question
Problem Report
RTL direction is not supported
How does RTL impact dragging? Is it that you'd like the drag handle to appear on the bottom-left corner? If so, this PR may help: https://github.com/STRML/react-resizable/pull/101
In RTL:
- resizing loses its smoothness which gets worse over time as you keep dragging the handler left and right.
- mouse pointer falls behind or ahead of resize handler.
hello @xcqwan and @RoccoC ,
I hope you all doing great. when i'm using this in an rtl ant design table it works in opposite direction. can you please tell me if i'm doing something wrong or there is a problem? it doesn't matter that where is the cursor in rtl when you drag to right the column's width must decreased but it does the ltr thing and increse width of the column
thanks in advance.
they handle it in #22659 but its not smooth like ltr version <Resizable ++resizeHandles={['w']}