[BUG] RTL only scrolls 1 item at a time in Firefox
Closed this issue · 2 comments
dkilgore-eightfold commented
Describe the bug
RTL only scrolls 1 item at a time in Firefox.
To Reproduce
- Open Firefox
- Go to https://codesandbox.io/s/rtl-8lix35?file=/src/index.tsx
- Click on the arrow button to scroll
- See Items only scroll 1 at a time
Expected behavior
The behavior should be the same as ltr using group scroll. scrolling the group (not only 1 item)
asmyshlyaev177 commented
Tnx for reporting, will fix.
asmyshlyaev177 commented
Sorry for the delay, for now just monkey patching but it should work - https://codesandbox.io/s/rtl-ng3bq9?file=/src/index.tsx
Changes in index.tsx
and arrows.tsx
files, cat search by isFirefox
Keep this issue open for a while, probably will make more elegant solution or will update README at least. Just don't have much free time recently and this project won't pay me a salary, but have few ideas about how to improve it.