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).
React Autocomplete component - Material UI
The autocomplete is a normal text input enhanced by a panel of suggested options.
4 Replies
metropolitan-bronze•2y ago
Hi @Austin Burgard hard to say without an example, if you can create somehting then happy to help 👋
dependent-tanOP•2y ago
yeah, absolutely! I'll spin something up
dependent-tanOP•2y ago
https://codesandbox.io/p/sandbox/react-virtual-mui-autocomplete-c4r49c
this is in progress -- trying to see why i cant install the most recent version of react-virtual
dependent-tanOP•2y ago
actually @piecyk i think i just got it