Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onMenuScrollToBottom and onMenuScrollToTop does not works in mobile view for Select in React #5892

Open
chitkarian-19 opened this issue Apr 16, 2024 · 0 comments
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet

Comments

@chitkarian-19
Copy link

i have a list of items which are X in number, I have to show all the items in the dropdown, but at once only 25.
Once the scroll shows the first 25, or you can saymenu scrolls to bottom, the next 25 should come.

I am achieving this functionality by onMenuScrollToBottom event, it is working smoothly in desktop but when it comes to mobile view only first 25 are visible, rest are not being shown.
I checked the event onMenuScrollToBottom event does not gets triggered in mobile view, howoever it gets triggered in desktop view.

Kindly provide suggestions, similar case is happening for onMenuScrollToTop
I am attaching small snippet for the same
`
<Select
options={OPTIONS_DATA}
onMenuScrollBottom={loadNextPage}

/>
`

@chitkarian-19 chitkarian-19 added the issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/bug-unconfirmed Issues that describe a bug that hasn't been confirmed by a maintainer yet
Projects
None yet
Development

No branches or pull requests

1 participant