@aral@Tooden it felt like it was inviting the response that they both looked like men - and then the punchline was no, they're both misogynists. Bit of a bait and switch.
I didn't think that was how you meant it, but that's how it came across to me.
@aral@Tooden now I've seen this, I get the point you're making but even without this clarification, the OP comes off as both misogynistic and transphobic.
@patrickfulton Not really, I'm still struggling to make the state work when using the React Aria <Select> component.
Ideally I want a component that just opens downwards, I tried a Listbox that opened with a button, which was cool, and it saved its selection into the useState. But I want to see the Select work too and seem to be missing a trick..
@patrickfulton I'm pretty junior in React so it may just be silly mistakes - I'll have a look again tomorrow and see if I can formulate it as an issue.
@ironchamber@marlinspike nope, instead of the hooks I'm trying to use the components as imported from react-aria-components - and I think I'm following the docs examples but I guess I'm making some silly mistakes. I'm quite the React junior 😅
But I'm really trying to keep it simple and start from scratch. We'll see, will try to give it some time tomorrow again (as always, accessibility research work is low priority 🫠)
Finally by looking at your examples, I realised that I still had the React Aria Component <Select> wrapping the whole thing, which I'd started with until I decided we didn't want the popover - and that somehow got in the way of the state updates.
My colleague is working at it from the hooks direction, so both examples are super useful, thank you 🙏
@ironchamber@marlinspike I tried to go back to the <Select> component to make it work - as opening a Listbox with a button still doesn't mimic the Select well enough (I might try more styling with the popover and keep it after all) - but now I'm back to the problem where I can't get the state to save.
@ironchamber I am stuuuucccckkkk it's doing lots of things that work but the one thing I need right now - setting the state into the useState. It's just... not. Trying all the syntax from their docs and it's just not doing the thing, jkhekfacbgxskuhgdja