I'm using Mantine 8.3.16, and I have an issue with a page that contains a combobox.
When viewed on a large screen, I want all of the combobox options visible all of the time in a static column. On smaller screens, I want the normal behavior where the options only appear for selection after clicking on the target. My original version of the page used conditional rendering to generate completely different output for the full page depending on the screen size. I thought I could simplify it by making only the combobox style conditional, but it's not working for some reason.
The combobox behavior on large screens is working fine. The version for small screens, though, does nothing when I click the target. The options don't display.
What's odd is that if I make some change to the component file (it doesn't matter what) when testing the mobile version, the browser refresh causes the option list to appear, and I can select an option. But once the list closes again, clicking the target doesn't reopen it.
I've reproduced the problem here:
https://codesandbox.io/p/devbox/mantine-react-template-forked-vy3qw7
Slide the divider between the code and the output to trigger the size difference and test each version.
I've looked through the samples in the docs, and everything looks good as far as I can see, but maybe I overlooked something...or maybe it's a rare bug? 🤷♂️