Title: Error when box-shadow is set no none · Issue #10403 · NativeScript/NativeScript · GitHub
Open Graph Title: Error when box-shadow is set no none · Issue #10403 · NativeScript/NativeScript
X Title: Error when box-shadow is set no none · Issue #10403 · NativeScript/NativeScript
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). Type...
Open Graph 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-shado...
X 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-shado...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/10403
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when box-shadow is set no none","articleBody":"### Issue Description\r\n\r\nAfter updating to core 8.6, I get this error. Seems to work with box-shadow: none anyway, but the error should be removed\r\n\r\n```\r\nCONSOLE ERROR: Error: Failed to apply property [box-shadow] with value [none] to Button(11). TypeError: Cannot read properties of null (reading 'values')\r\n JS: at parseCSSShadow (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/css-shadow.js:58:0)\r\n JS: at valueConverter (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-properties.js:1146:29)\r\n JS: at Style.setCssValue [as css:box-shadow] (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/core/properties/index.js:573:0)\r\n JS: at CssState.setPropertyValues (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:555:47)\r\n JS: at file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:431:0\r\n JS: at Button._batchUpdate (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/core/view-base/index.js:361:0)\r\n JS: at CssState.updateDynamicState (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:429:0)\r\n JS: at CssState.onLoaded (file: app/webpack:/css-test/node_modules/@nativescript/core/ui/styling/style-scope.js:399:0)\r\n JS: at Button.onLoaded (file:///data/data/org.nativescript.csst...\r\n```\r\n\r\n### Reproduction\r\n\r\nAdd an element with box-shadow: none in css or inline style\r\n\r\n### Relevant log output (if applicable)\r\n\r\n_No response_\r\n\r\n### Environment\r\n\r\n```\r\n\"dependencies\": {\r\n \"@nativescript/core\": \"~8.6.0\",\r\n \"@nativescript/theme\": \"~3.0.2\",\r\n \"nativescript-vue\": \"~2.9.3\"\r\n },\r\n \"devDependencies\": {\r\n \"@nativescript/android\": \"8.5.4\",\r\n \"@nativescript/webpack\": \"~5.0.18\",\r\n \"nativescript-vue-template-compiler\": \"~2.9.3\"\r\n }\r\n```\r\n\r\n### Please accept these terms\r\n\r\n- [X] I have searched the [existing issues](https://github.com/NativeScript/NativeScript/issues) as well as [StackOverflow](https://stackoverflow.com/questions/tagged/nativescript) and this has not been posted before\r\n- [X] This is a bug report\r\n- [X] I agree to follow this project's [Code of Conduct](https://github.com/NativeScript/NativeScript/blob/master/tools/notes/CONTRIBUTING.md#coc)","author":{"url":"https://github.com/asharghi","@type":"Person","name":"asharghi"},"datePublished":"2023-10-12T09:11:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/10403/NativeScript/issues/10403"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a4e10d6-d004-5718-6698-b64a4531ca8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9060:D6D75:335DAF:445721:6A614F81 |
| html-safe-nonce | c795ddb4980a70abc867b59bbd3a2ad3e9e2c3a50348086276cb6ebd317bb137 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDYwOkQ2RDc1OjMzNURBRjo0NDU3MjE6NkE2MTRGODEiLCJ2aXNpdG9yX2lkIjoiNDA5MzM1MzExOTA2OTU4OTM3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46d0f370f47f3e87c42612c576a689ee1f1a4f9b14a73cfd65dbfd36f784a1a9 |
| hovercard-subject-tag | issue:1939555308 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/10403/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a794351a689ddeb96b18573f4a0b272c1a89240ca4cf958fbd151a7804529f3f/NativeScript/NativeScript/issues/10403 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a794351a689ddeb96b18573f4a0b272c1a89240ca4cf958fbd151a7804529f3f/NativeScript/NativeScript/issues/10403 |
| og:image:alt | 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-shado... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asharghi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 35b919fdb8e6752d2ed95a144e761ca5e924557563e2ed0a5ebf6c4430cdeeb6 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1e22b08b60ccb67c3791f565bed248565260e611 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width