Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Any good CSS Hack for fixing this issue with MudBlazor Multi-Select and Virtualize?

$
0
0

Basically, I'm using a MudBlazor MultiSelect field for a very large list.

However, it was really sluggish, obviously. Therefore, I tried to inject the Virtualize component into it, which worked for performance, with one caveat; it seems to create this huge space on the form underneath (probably depending on the size of the list it's trying to virtualise) :(

I've created a little snippet as an example here to work on. After finding a little autogenerated div is created, tried reducing the height of it in the browser, which works, but when I try to set it in the blazor page, it just makes the multi-select list really small as well. That's the limit of my HTML/CSS knowledge as to what's happening and if ther'es some hack to get around it?

Here is the snippet, if anyone can help please: https://try.mudblazor.com/snippet/GEmxOHGicezopxcR


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>