Skip to content

Invisible items on long list #2746

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

Open
Ashko84 opened this issue May 19, 2022 · 3 comments
Open

Invisible items on long list #2746

Ashko84 opened this issue May 19, 2022 · 3 comments
Labels

Comments

@Ashko84
Copy link

Ashko84 commented May 19, 2022

I detected problem with dropdown, when there are more than 199 items in dropdown.
Items from 200 and more are not visible - problem is with dynamic item rendering (dropdown scroll position calculation doesn't work right).
My quick solution was to remove code, that calculate scroll position of dropdown + show all items.
Now it works much smooter (no need to detect items position) + can easily works with few hundreds of items

jQuery V3.6.0

bootstrap-select.min.js.zip

@Ashko84 Ashko84 added the bug label May 19, 2022
@domantasslai
Copy link

Faced with the same issue.
bug-1
When I scroll a little bit down then all the options are rendered.
But the same issue appears when scrolling the window all the way down.

@akinuri
Copy link

akinuri commented Apr 14, 2023

@Ashko84 Can you post the changes you've made? If they're long, you can create a gist.

@akinuri
Copy link

akinuri commented Apr 14, 2023

virtualScroll option seems to solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants