You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meesvandongen
changed the title
[turbopack] using scroll() does not work using CSS Modules for --turbo
[turbopack] using scroll() does not work while using --turbo
May 31, 2025
Uh oh!
There was an error while loading. Please reload this page.
Link to the code that reproduces this issue
https://github.com/meesvandongen/demo-scroll-function
To Reproduce
npm i
npm run dev
Current vs. Expected behavior
The page should turn from red to blue, but instead it is green.
Provide environment information
Which area(s) are affected? (Select all that apply)
CSS
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
Given this CSS
The turbopack generated CSS is
This is not valid; the
animation-timeline
property may not be used in theanimation
shorthand.This is the case for module imports and non-module imports.
MDN says the following;
But it seems that this is not the current implementation in chrome.
The output using webpack is:
The text was updated successfully, but these errors were encountered: