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

Commit ea05db8

Browse files
radko93satya164
authored andcommitted
fix: children touch events leaking to underlying Header right/left components (#302)
1 parent 6fe3119 commit ea05db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Header/HeaderContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default function HeaderContainer({
109109
})
110110
: undefined
111111
}
112-
pointerEvents="box-none"
112+
pointerEvents={isFocused ? 'box-none' : 'none'}
113113
accessibilityElementsHidden={!isFocused}
114114
importantForAccessibility={
115115
isFocused ? 'auto' : 'no-hide-descendants'

0 commit comments

Comments
 (0)