Elektrine lite

← Feed

@sarajw@front-end.social

Post #3116694

2026-04-29 18:10 UTC

the answer was so daft and so simple, I could only laugh in disbelief at the rabbit holes this thing had gone down looking for the answer -- It's an over-engineered Select (yes I know, but it's a good headless library), I had forgotten to deal with the situation when the number of options made the list longer than the popover trying to contain it. The options listbox then overflowed the button that opened it. On click, the mouse-down opened the listbox, the mouse-up immediately chose a value.

Replies (3)

  • @sarajw@front-end.social 2026-04-29 18:12

    ALL IT NEEDED WAS `overflow: auto;` ON THE POPOVER! THAT WAS ALL! Fuck's sake. I was laughing and livid at the same time. I'm an idiot. Claude's an idiot. But apparently I'm a better idiot, when I don't choose to let this piece of shit think for me.

    Open ##3116695

  • @mattwilcox@mstdn.social 2026-04-29 18:11

    @sarajw@front-end.social "10x" isn't supposed to mean 10x the effort to get to the same place, Claude.

    Open ##3116703

  • @Jbasoo@mastodon.social 2026-04-29 19:05

    @sarajw@front-end.social That matches my experiences too, I always ask for references now if it doesn't provide them as it often makes stuff up. I've found it's better at debugging JS though, not so much anything visual rendered in the browser. Still, it's sometimes a handy, but expensive, rubber duck to bounce ideas off.

    Open ##3116711