Skip to content

Commit

Permalink
Merge pull request #25605 from akinwale/task-24197
Browse files Browse the repository at this point in the history
fix: allow vertical scroll on multiline horizontal scrollable code block for Android Chrome
  • Loading branch information
aldo-expensify authored Aug 24, 2023
2 parents 268eb7c + 169500c commit 1f22dfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const BasePreRenderer = forwardRef((props, ref) => {
<ScrollView
ref={ref}
horizontal
style={[styles.mv2, styles.overscrollBehaviorNone]}
style={[styles.mv2, styles.overscrollBehaviorXNone]}
bounces={false}
>
<ShowContextMenuContext.Consumer>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/utilities/overflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default {
overflow: 'scroll',
},

overscrollBehaviorNone: {
overscrollBehavior: 'none',
overscrollBehaviorXNone: {
overscrollBehaviorX: 'none',
},

overflowAuto,
Expand Down

0 comments on commit 1f22dfe

Please sign in to comment.