Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
fix: disable pointerEvents on header when not focused
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Dec 3, 2019
1 parent eaf8847 commit 87d445b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/stack/src/views/Header/HeaderContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function HeaderContainer({
})
: undefined
}
pointerEvents="box-none"
pointerEvents={isFocused ? 'box-none' : 'none'}
accessibilityElementsHidden={!isFocused}
importantForAccessibility={
isFocused ? 'auto' : 'no-hide-descendants'
Expand Down

0 comments on commit 87d445b

Please sign in to comment.