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
I have a chat widow that loads the 10 most recent messages and scrolls to the bottom . (Most recent message is shown at the bottom of chat)
Can I use useInifiniteScroll to trigger when the user scrolls to within a certain distance of the top of the scrollable element rather than the bottom?
I guessed that setting {distance:-200} might do it, but sadly not
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a chat widow that loads the 10 most recent messages and scrolls to the bottom . (Most recent message is shown at the bottom of chat)
Can I use useInifiniteScroll to trigger when the user scrolls to within a certain distance of the top of the scrollable element rather than the bottom?
I guessed that setting
{distance:-200}
might do it, but sadly notBeta Was this translation helpful? Give feedback.
All reactions