Best way to style buttons on hover? #8645
-
Building a simple RNW app, there are a couple things I want to be able to do, but can't find any documentation for:
Is there an official, stable way to handle these cases? I'd imagine Microsoft has some way they're handling them in their apps. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's a big thread here about an effort to make the hover states (and other mouse-centric things) more unified across all platforms. There are options to do what you want in RNW today, but they're underdocumented (for example compared to the keyboard props). The lack of documentation on these props is tracked here. There are some running examples in this repo, like this. But I don't see anything proper on the samples repo. I've opened an issue to track the lack of a sample that covers this. @rectified95 FYI |
Beta Was this translation helpful? Give feedback.
There's a big thread here about an effort to make the hover states (and other mouse-centric things) more unified across all platforms. There are options to do what you want in RNW today, but they're underdocumented (for example compared to the keyboard props). The lack of documentation on these props is tracked here.
There are some running examples in this repo, like this. But I don't see anything proper on the samples repo. I've opened an issue to track the lack of a sample that covers this.
@rectified95 FYI