Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit eef7654

Browse files
lucky-chenYorkShen
authored andcommitted
[Android] add option to ignore element time calculate (#2444)
1 parent 9a3a5fa commit eef7654

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

android/sdk/src/main/java/com/taobao/weex/ui/action/GraphicActionAddElement.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ public GraphicActionAddElement(@NonNull WXSDKInstance instance, String ref,
8989
if (null != child.getAttrs()){
9090
flag = child.getAttrs().get("ignoreInteraction");
9191
}
92-
if ("1".equals(flag) || "true".equals(flag) || child.isFixed()){
92+
if ("false".equals(flag) || "0".equals(flag)){
93+
child.isIgnoreInteraction = false;
94+
}else if ("1".equals(flag) || "true".equals(flag) || child.isFixed()){
9395
child.isIgnoreInteraction = true;
9496
}
9597
}

0 commit comments

Comments
 (0)