Skip to content

v2.1.13

Choose a tag to compare

@RichardRNStudio RichardRNStudio released this 25 Apr 21:54
· 44 commits to main since this release

What's Changed

The custom view/render has been fixed, there was a bug in the implementation which caused app crashes.

  • fix custom render crash
  • fix the related examples: CustomRenderFunctionExample & UsingThirdPartyLibrariesExample

Please be aware: Possibly, you need to use the following wrapper for each slides when you're using the custom render to make sure, the slide's width is matching with the device's width.

<View style={{ width: Dimensions.get('window').width }} key={index}>{YOUR ITEM}</View>

Example:

<SliderIntro numberOfSlides={slides.length}>
  {slides.map((item, index) => {
     return (
       <View style={{ width: Dimensions.get('window').width }} key={index}>
         {YOUR_SLIDE}
       </View>
     )
  })}
</SliderIntro>

Commits

Full Changelog: v2.1.8...v2.1.13