Pseudo selector styles are applied directly
efflam opened this issue · 5 comments
efflam commented
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
kripod commented
Thank you for reporting! I'll also investigate why Code Sandbox cannot load otion as a package.
kripod commented
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
kripod commented
@all-contributors please add @efflam for reporting a bug!
allcontributors commented
I've put up a pull request to add @efflam! 🎉
efflam commented
Great ! Thank you