TanStackT
TanStack3y ago
4 replies
sad-indigo

Mui-Autocomplete with Infinite Query

Hello all! I'm currently working on an Autcomplete component (https://mui.com/material-ui/react-autocomplete/#virtualization) with MUI. I'm trying to use tanstack virtual in addtiona to infinite query. MUI's ref system is odd and is throwing me for a loop. I'll get my initial results but when I reach the bottom of what I think is the ref container, my data isn't updated even though my tools and network state that I've recieved all my results. Any help here would be greatly appreciated (I can provide code if needed).
The autocomplete is a normal text input enhanced by a panel of suggested options.
React Autocomplete component - Material UI
Was this page helpful?