Skip to content

Commit

Permalink
remove default expand/collapse action, the state is managed with java…
Browse files Browse the repository at this point in the history
…script callback onAccessibilityAction
  • Loading branch information
fabOnReact committed Aug 17, 2022
1 parent e5b6b07 commit 28e9c3b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ public class ReactAccessibilityDelegate extends ExploreByTouchHelper {
sActionIdMap.put("longpress", AccessibilityActionCompat.ACTION_LONG_CLICK.getId());
sActionIdMap.put("increment", AccessibilityActionCompat.ACTION_SCROLL_FORWARD.getId());
sActionIdMap.put("decrement", AccessibilityActionCompat.ACTION_SCROLL_BACKWARD.getId());
sActionIdMap.put("expand", AccessibilityNodeInfoCompat.ACTION_EXPAND);
sActionIdMap.put("collapse", AccessibilityNodeInfoCompat.ACTION_COLLAPSE);
}

private final View mView;
Expand Down

0 comments on commit 28e9c3b

Please sign in to comment.