Skip to content

How to Implement Infinite Scroll in Select with Offset Tolerance and Handle Dynamic Scroll Area Height in Mantine? #7432

Answered by kemaltf
kemaltf asked this question in Q&A
Discussion options

You must be logged in to vote

Solved guys!

Infinite scroll is a useful feature that allows for the seamless loading of data in a dropdown or list as the user scrolls down, rather than loading all the data upfront. This technique is especially helpful when dealing with large datasets or when wanting to improve the performance of an application by reducing initial loading times. In this article, we'll discuss how we can implement infinite scroll using Mantine's Combobox component, with a custom solution for triggering the onBottomReached event and handling dynamic heights.

Problem Statement
The task at hand is to implement infinite scroll in the Combobox dropdown of Mantine. There are three main problems we want to addr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kemaltf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant