Skip to content

Commit 2c77abd

Browse files
authored
Turn off view recycling by adding shouldBeRecycled to RNCSliderComponentView (#746)
1 parent c39f8df commit 2c77abd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package/ios/RNCSliderComponentView.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ + (ComponentDescriptorProvider)componentDescriptorProvider
3131
return concreteComponentDescriptorProvider<RNCSliderComponentDescriptor>();
3232
}
3333

34+
+ (BOOL)shouldBeRecycled {
35+
return NO;
36+
}
37+
3438
- (instancetype)initWithFrame:(CGRect)frame
3539
{
3640
if (self = [super initWithFrame:frame]) {

0 commit comments

Comments
 (0)