gsoft-inc / sg-orbit

The design system for ShareGate web apps.
https://orbit.sharegate.design
Apache License 2.0
102 stars 37 forks source link

🐛 opacityHover causes a Warning in the console #1221

Closed LaurentDario closed 1 year ago

LaurentDario commented 1 year ago

We discovered while working on the shared navigation, that the use of opacityHover generates a warning in the console that seems to depend on Orbit

Describe the bug

Using opacityHover on a Div adds the o-ui-o-hover to the div concerned, but the console seems to suggest that it should be oUiOHover instead image

Steps to reproduce

Add opacityHover={1} to an Orbit element supporting Style props and check the console when running the project.

Expected results

No error or warning should show in the console

fraincs commented 1 year ago

Fixed in #1222