facebook / stylex

StyleX is the styling system for ambitious user interfaces.
https://stylexjs.com
MIT License
8.34k stars 307 forks source link

What if you want to change the CSS of another element when hovering on an element? #443

Closed dngwoodo closed 7 months ago

dngwoodo commented 7 months ago

Describe the feature request

example

<div>
    <p>hover element</p> // < -hover
    <p>target element</p> // <- change color
</div>
nmn commented 7 months ago

This is not currently possible. The feature is being considered right now. You can use Javascript to work around the problem.

This limitation is explicitly documented, so closing this issue.