fix: hide content while drawer is open from talkback (#132)

This commit is contained in:
flyingcircle
2019-10-30 00:59:18 -07:00
parent ac3e2de6ed
commit 71df6f36f5
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ it('renders successfully', () => {
}
>
<View
importantForAccessibility="yes"
style={
Object {
"flex": 1,

View File

@@ -544,6 +544,7 @@ export default class DrawerView extends React.PureComponent<Props> {
},
sceneContainerStyle as any,
]}
importantForAccessibility={open ? 'no-hide-descendants' : 'yes'}
>
{renderSceneContent({ progress: this.progress })}
<TapGestureHandler