Open SamusElderg opened 6 months ago
Just noticed (i added it to the issue above) that this dropdown doesn't appear to work on mobile devices, surprised it hasn't been reported by users yet? (maybe its specific to my device) but basically if you click the dropdown on mobile, it opens for a brief moment and then closes again, so you cant access the options in the dropdown
Keep in mind we may be doing a revamp of this component soon as lemongrass has been working on some designs that include a dropdown selector, so whilst we should fix this particular bug as priority, i wouldn't worry much about the list i was compiling in this issue
Just dropping this in as a reminder for myself to pad out, there are some iterations we should do with the select component including:
light mode styling
fix dropping outside the viewport
dropdown doesnt seem to work on mobile (clicking it just pops it open for a brief moment and closes it again)
WIP (will pad this issue out once i revisit this)
Edit Looks like it has something to do with
onTouchStart
if we remove that line completely everything appears to work as expected on desktop + mobile devices