-
-
Notifications
You must be signed in to change notification settings - Fork 608
css module keyframes not working properly when using special characters #1432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yep, bug, feel free to send a fix here https://github.com/css-modules/postcss-modules-local-by-default |
Perfect, I will take a look at that! Thank you for the quick response! |
@alexander-akait I put up an PR here: css-modules/postcss-modules-local-by-default#42 Would you mind taking a look when you get a chance? I'm also hoping this MR can be backported to |
Thanks, I will look at this in near future |
Bug report
CSS modules are not being processed properly when there are special characters in the animation name. For example:
Actual Behavior
Keyframes do not work when applied with a special character
Expected Behavior
Keyframes defined with special characters should be respected within css modules.
With respect to my repro,
localhost:3000/
andlocalhost:3000/home2
should both produce the same visual resultHow Do We Reproduce?
Steps to reproduce:
npm i
andnpm run dev
localhost:3000/
and notice there is no animationlocalhost:3000/home2/
and notice the animation is thereIn this app, both pages have the same styles, with the exception of
localhost:3000/
having their keyframes & class names prefixed with the special character@
.Please paste the results of
npx webpack-cli info
here, and mention other relevant informationResults:
The text was updated successfully, but these errors were encountered: