Skip to content

Commit

Permalink
Fix iOS dismiss touch event not being captured (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding authored Aug 8, 2022
1 parent 7db40a8 commit 832fbf7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ const globalStyles = css`
}
}
// Hack for https://github.com/stipsan/react-spring-bottom-sheet/issues/180#issuecomment-1144537142
reach-portal {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
}
*:focus {
outline: none;
}
Expand Down

0 comments on commit 832fbf7

Please sign in to comment.