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
Upgrade to Next.js 15 by running npx @next/codemod@canary upgrade latest (command is from the official guide here). In the process select the option to enable turbopack
Expected behavior
Survey Creator loads without issues
Expected behavior
Build error from the ./node_modules/survey-creator-core/survey-creator-core.css:466:5 blocks rendering the page. It's caused by not supported pseudo selector ::i-block-chrome on line 466 from the survey-creator-core.css file
Screenshots
Please complete the following information:
Browser: chrome (but happens on all browsers)
Browser version: [e.g. 22]
JS framework/library: React
SurveyJS version: The packages.json is set to "survey-creator-core": "latest". At the time, it resolves to 1.9.131 (also happens on 1.12.7)
Device: MacBook
Additional context
This is low priority issue and ;it is not blocking us. Idea is to make you aware of it as you update the sample to Next.js 15. There are 3 workarounds as of now
Disable the turbopack bundler by modifying "dev" script in packages.json from "next dev --turbopack" --> to "next dev"
Go to node "/node_modules/survey-creator-core/survey-creator-core.css:466:5" and delete the ::i-block-chrome pseudo selector - not good for CI
Describe the bug
Survey Creator: CSS parsing Issue when using within Next.js 15 and Turbopack bundler.
Steps to reproduce
npx @next/codemod@canary upgrade latest
(command is from the official guide here). In the process select the option to enable turbopacknpm install -f
npm run dev
Expected behavior
Survey Creator loads without issues
Expected behavior
Build error from the
./node_modules/survey-creator-core/survey-creator-core.css:466:5
blocks rendering the page. It's caused by not supported pseudo selector::i-block-chrome
on line 466 from thesurvey-creator-core.css
fileScreenshots
Please complete the following information:
Additional context
This is low priority issue and ;it is not blocking us. Idea is to make you aware of it as you update the sample to Next.js 15. There are 3 workarounds as of now
::i-block-chrome
pseudo selector - not good for CITip
Unless, I am missing something, this appears to be a custom css selector, which can be safely removed from the source (https://github.com/surveyjs/survey-creator/blob/8e503b8883c0cfda927d4351e41e1c13af522dac/packages/survey-creator-core/src/components/simulator.scss#L70)
Let me know if I can help with anything
The text was updated successfully, but these errors were encountered: