• they/them/she/her/xe/xer

umbrella enthusiast, proud blåhaj owner. people think i'm a hat for some reason. I make art, sometimes.

You must log in to comment.

in reply to @blep's post:

OOH I ACTUALLY HAD TO IMPLEMENT ONE OF THOSE FOR A VERY FUCKED UP EDGE CASE AND IMPLEMENTED EXACTLY THAT WITH JS BECAUSE IT WAS MAKING ME SO MAD IT DIDNT WORK

it is also very annoying since usually the default os styling does actually look good. it only looks bad if the webpage insists on reimplmenting everything else so the lone select dropdown will look weird! but you can just Not Do That and save yourself all the trouble!

i keep telling the designers at work the vanilla selector is ok actually but nooooo it needs to have a bloated custom react component because that's what every other big website does when they have a selector

I've always replaced the fugly react component work uses for selects with the native elements when I can get away with it. The react select at work has a multitude of accessibility issues, doesn't support keyboard interactions properly, and doesn't handle really big lists properly.