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.