-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[Bug]: Compiled CSS is missing vendor prefixes, when Next.js does add them #23234
Comments
following |
@sawyerh Hey, it seems like Well fortunately under the hood, postcss.config.js module.exports = {
plugins: {
autoprefixer: {},
},
};
I've also added a PR to your reproduction repository (link), so see if it works correctly. Cheers. |
@sookmax Thanks for the quick response! It looks like adding the |
You need to be careful. I created
|
Describe the bug
My project's CSS includes modern CSS syntax, such as the
mask
property. This property requires vendor prefixes (e.g.-webkit-mask
) in order to properly render in Chrome.When using the
@storybook/nextjs
framework, the CSSmask
property is not being automatically prefixed in the processed CSS. However, Next.js does this for you, so this means the CSS shown in Storybook is somewhat broken compared to when the page is viewedIn Next.js
In Storybook
To Reproduce
System
The text was updated successfully, but these errors were encountered: