kripod/otion

Pseudo selector styles are applied directly

efflam opened this issue · 5 comments

Description

Pseudo selector styles are applied directly

Reproduction

https://codesandbox.io/s/nostalgic-yalow-yuwrg?file=/src/App.js

Expected behavior

The div should be green and red on hover.

Actual behavior

The div is red.

Environment

Chrome Version 81.0.4044.138

Thank you for reporting! I'll also investigate why Code Sandbox cannot load otion as a package.

After further investigation, it turns out that Code Sandbox doesn't support loading modules with a .cjs extension. I've just fixed your use-case as shown here: https://codesandbox.io/s/fervent-grass-gbu2p?file=/src/App.js

@all-contributors please add @efflam for reporting a bug!

@kripod

I've put up a pull request to add @efflam! 🎉

Great ! Thank you