mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 02:54:11 +08:00
fix(box-shadow): support for 'none' (#9418)
This commit is contained in:
@ -40,6 +40,10 @@ export function parseCSSShadow(value: string): CSSShadow {
|
||||
const first = parts[0];
|
||||
const last = parts[parts.length - 1];
|
||||
|
||||
if (first === 'none') {
|
||||
return null;
|
||||
}
|
||||
|
||||
let colorRaw = 'black';
|
||||
if (!isLength(first) && first !== 'inset') {
|
||||
colorRaw = first;
|
||||
|
Reference in New Issue
Block a user