Skip to content

Commit

Permalink
fix(react-native): scrolling was broken with top view and floating vi…
Browse files Browse the repository at this point in the history
…ew in same container (#1029)
  • Loading branch information
santhoshvai authored Aug 31, 2023
1 parent 5d96170 commit 638ed7e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ export const CallContent = ({
return (
<View style={[styles.container, callContent.container]}>
<View style={[styles.container, callContent.callParticipantsContainer]}>
<View style={[styles.view, callContent.topContainer]}>
<View
style={[styles.view, callContent.topContainer]}
// "box-none" disallows the container view to be not take up touches
// and allows only the top and floating view (its child views) to take up the touches
pointerEvents="box-none"
>
{CallTopView && (
<CallTopView
onBackPressed={onBackPressed}
Expand Down

0 comments on commit 638ed7e

Please sign in to comment.