Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
fix: ensure scrollbars are enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Aug 10, 2019
1 parent ff5024c commit 1272144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions React/Views/ScrollView/RCTScrollView.m
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ - (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher
_cachedChildFrames = [NSMutableArray new];
_lastClippedToRect = CGRectNull;

self.hasVerticalScroller = YES;
self.hasHorizontalScroller = YES;

// Note: This also makes "opaque" return NO.
[self setDrawsBackground:NO];

Expand Down

0 comments on commit 1272144

Please sign in to comment.