mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
CssAnimationProperties, when unset, were not setting the default native value. (#4595)
This commit is contained in:
committed by
SvetoslavTsenov
parent
d978424f35
commit
2f6ca2524b
3
apps/app/ui-tests-app/issues/issue-4450.css
Normal file
3
apps/app/ui-tests-app/issues/issue-4450.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.styled > StackLayout > * {
|
||||
background-color: red;
|
||||
}
|
||||
7
apps/app/ui-tests-app/issues/issue-4450.ts
Normal file
7
apps/app/ui-tests-app/issues/issue-4450.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function set(args) {
|
||||
args.object.page.className = "styled";
|
||||
}
|
||||
|
||||
export function clear(args) {
|
||||
args.object.page.className = "";
|
||||
}
|
||||
8
apps/app/ui-tests-app/issues/issue-4450.xml
Normal file
8
apps/app/ui-tests-app/issues/issue-4450.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
|
||||
<StackLayout id="root">
|
||||
<SearchBar />
|
||||
<Progress value="50" maxValue="100" margin="22" />
|
||||
<Button text="set" tap="set" margin="2" />
|
||||
<Button text="clear" tap="clear" margin="2" />
|
||||
</StackLayout>
|
||||
</Page>
|
||||
@@ -24,6 +24,7 @@ export function loadExamples() {
|
||||
examples.set("1657-ios", "issues/issue-1657-ios");
|
||||
examples.set("tabview-with-scrollview_4022","issues/tabview-with-scrollview_4022");
|
||||
examples.set("3354-ios", "issues/issue-3354");
|
||||
examples.set("4450", "issues/issue-4450");
|
||||
|
||||
return examples;
|
||||
}
|
||||
Reference in New Issue
Block a user