-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Labels
Description
Issue Description
After updating to core 8.6, I get this error. Seems to work with box-shadow: none anyway, but the error should be removed
CONSOLE ERROR: Error: Failed to apply property [box-shadow] with value [none] to Button(11). TypeError: Cannot read properties of null (reading 'values')
JS: at parseCSSShadow (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/css-shadow.js:58:0)
JS: at valueConverter (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-properties.js:1146:29)
JS: at Style.setCssValue [as css:box-shadow] (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/core/properties/index.js:573:0)
JS: at CssState.setPropertyValues (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:555:47)
JS: at file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:431:0
JS: at Button._batchUpdate (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/core/view-base/index.js:361:0)
JS: at CssState.updateDynamicState (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:429:0)
JS: at CssState.onLoaded (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:399:0)
JS: at Button.onLoaded (file:///data/data/org.nativescript.csst...
Reproduction
Add an element with box-shadow: none in css or inline style
Relevant log output (if applicable)
No response
Environment
"dependencies": {
"@nativescript/core": "~8.6.0",
"@nativescript/theme": "~3.0.2",
"nativescript-vue": "~2.9.3"
},
"devDependencies": {
"@nativescript/android": "8.5.4",
"@nativescript/webpack": "~5.0.18",
"nativescript-vue-template-compiler": "~2.9.3"
}
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct