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

Commit 1272144

Browse files
committed
fix: ensure scrollbars are enabled by default
1 parent ff5024c commit 1272144

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

React/Views/ScrollView/RCTScrollView.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ - (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher
180180
_cachedChildFrames = [NSMutableArray new];
181181
_lastClippedToRect = CGRectNull;
182182

183+
self.hasVerticalScroller = YES;
184+
self.hasHorizontalScroller = YES;
185+
183186
// Note: This also makes "opaque" return NO.
184187
[self setDrawsBackground:NO];
185188

0 commit comments

Comments
 (0)