- Home
- Forum
- Angular - EJ 2
- SassError: Top-level selectors may not contain the parent selector "&".
SassError: Top-level selectors may not contain the parent selector "&".
HI:
While I was using the controller @syncfusion/ej2-angular-inputs 18.4.30, it always prompted the sasserror if I tried to edit it.
However, it didn’t have any issues reported for the version I ever used: @syncfusion/ej2-angular-inputs 18.3.47
The following are the screenshot and the code for the error occurred.
pageage.json
{
"name": "testscss",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular/common": "~10.0.0",
"@angular/core": "~10.0.0",
"@angular/forms": "~10.0.0",
"@angular/platform-browser": "~10.0.0",
"@angular/platform-browser-dynamic": "~10.0.0",
"@angular/router": "~10.0.0",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^5.0.0",
"@syncfusion/ej2-angular-inputs": "^18.4.30",
"rxjs": "~6.5.5",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1000.0",
"@angular/cli": "~10.0.5",
"@angular/compiler": "~10.0.0",
"@angular/compiler-cli": "~10.0.0",
"@angular/language-service": "~10.0.0",
"@ionic/angular-toolkit": "^2.3.0",
"@types/node": "^12.11.1",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~3.9.5"
},
"description": "An Ionic project"
}
global.scss
/*
* App Global CSS
* ----------------------------------------------------------------------------
* Put style rules here that you want to apply globally. These styles are for
* the entire app and not just one component. Additionally, this file can be
* used as an entry point to import other CSS/Sass files to be included in the
* output CSS.
* For more information on global stylesheets, visit the documentation:
* https://ionicframework.com/docs/layout/global-stylesheets
*/
/* Core CSS required for Ionic components to work properly */
@import "~@ionic/angular/css/core.css";
/* Basic CSS for apps built with Ionic */
@import "~@ionic/angular/css/normalize.css";
@import "~@ionic/angular/css/structure.css";
@import "~@ionic/angular/css/typography.css";
@import '~@ionic/angular/css/display.css';
/* Optional CSS utils that can be commented out */
@import "~@ionic/angular/css/padding.css";
@import "~@ionic/angular/css/float-elements.css";
@import "~@ionic/angular/css/text-alignment.css";
@import "~@ionic/angular/css/text-transformation.css";
@import "~@ionic/angular/css/flex-utils.css";
@import 'ej2-base/styles/material.scss';
@import 'ej2-inputs/styles/material.scss';
@import 'ej2-angular-inputs/styles/material.scss';
SIGN IN To post a reply.
2 Replies
MK
Mohan Kumar Ramasamy
Syncfusion Team
December 28, 2020 12:34 PM UTC
Hi techlandandyzhang,
Sorry for the inconvenience caused.
We have checked your reported issue and we would like to let you know that it is a known issue and we have already fixed it, and it will be available in our upcoming patch release which will be scheduled on 30th December 2020.Until then we appreciate your patience.
Regards,
Mohan kumar R
MK
Mohan Kumar Ramasamy
Syncfusion Team
October 26, 2021 05:14 AM UTC
Hi Techlandandyzhang,
Thank you for your patience.
We are glad to announce that our weekly patch release (18.4.32) is rolled out. We have included the fix for your issue in this release. So, we suggest you upgrade our Syncfusion packages to our latest version to resolve this issue in your end. (18.4.32).
Release Notes: https://ej2.syncfusion.com/angular/documentation/release-notes/18.4.32/?type=all#colorpicker
Please let us know if you need further assistance.
Regards,
Mohan kumar R
Mohan kumar R
SIGN IN To post a reply.
- 2 Replies
- 2 Participants
-
TE techlandandyzhang
- Dec 25, 2020 04:07 AM UTC
- Oct 26, 2021 05:14 AM UTC