You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi please take look at line 271 of the index.tsx file
Shouldn't the correct calculation be (threshold.value / 100) * target.scrollHeight + clientHeight - target.scrollHeight + 1 ?
Because of this line, the scrollThreshold in inverse mode doesn't work when it's set as percentage.
The text was updated successfully, but these errors were encountered:
HarryTranCustodio
changed the title
Wrong calculation in isElementAtTop method causing percentage scrollThreshold to fail
Wrong calculation in isElementAtTop method causing percentage scrollThreshold to fail in inverse mode
Nov 2, 2023
Hi please take look at line 271 of the index.tsx file
Shouldn't the correct calculation be
(threshold.value / 100) * target.scrollHeight + clientHeight - target.scrollHeight + 1
?Because of this line, the
scrollThreshold
ininverse
mode doesn't work when it's set as percentage.The text was updated successfully, but these errors were encountered: