Sara Joy :happy_pepper: on Nostr: Having trouble with React Aria Components and :focus-visible i.e. the <Button> ...
Having trouble with React Aria Components and :focus-visible
i.e. the <Button> component seems much more eager to show a focus outline when using a mouse, compared to a normal <button>.
But I think I have to use the library's Buttons to use their Popovers and Modals and such (yes I could do them in vanilla HTML, but for now we're not, because reasons).
Is there any way to make this less eager? Is it something to do with programmatic focus?
i.e. the <Button> component seems much more eager to show a focus outline when using a mouse, compared to a normal <button>.
But I think I have to use the library's Buttons to use their Popovers and Modals and such (yes I could do them in vanilla HTML, but for now we're not, because reasons).
Is there any way to make this less eager? Is it something to do with programmatic focus?