react-remove-scroll icon indicating copy to clipboard operation
react-remove-scroll copied to clipboard

fix: handle reverse flex-direction when computing available scroll

Open dkornilove opened this issue 1 month ago • 0 comments

This PR adds elementIsReverseScrolled and uses it to swap how available scroll is accumulated for elements with flex-direction: column-reverse or row-reverse, ensuring overscroll detection is correct for reversed flex layouts.

Fixes #148

dkornilove avatar Dec 10 '25 08:12 dkornilove