Feature Request: Add an offset to logic of onMenuScrollToBottom #5437
omriavigdor
started this conversation in
Ideas
Replies: 2 comments
-
Would pay money for this feature, literally |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for opening this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suggest exposing a prop to the user to set a pixel-offset for when onMenuScrollToBottom is called.
Meaning, suppose I want it to fire 20 pixels before the user scrolls to the bottom of the menu, then I set:
menuScrollToBottomOffset={20}
It will be very helpful if I can do my logic before the user gets to the bottom because if they do it fast enough the whole page is scrolled down (my case is implementing infinite scroll).
Beta Was this translation helpful? Give feedback.
All reactions