Skip to content

Release 4.0.0

Latest
Compare
Choose a tag to compare
@Glazzes Glazzes released this 03 Dec 18:41
· 3 commits to main since this release

✨ New Features

  • Add getVisibleRect method to ResumableZoom.
  • Add scrollRef property to SnapbackZoom.
  • Add gap property to Gallery.

🐛 Bug Fixes

  • Fix gesture detection for all components to make them compatible with RN 0.76.
  • Fix pinch gesture not terminating when there is less than two fingers on the screen.
  • Fix inconsistent vertical pull in Gallery component by @danilvalov.

💥 Breaking Changes

  • ResumableZoom, CropZoom and Gallery are not longer wrapped by GestureHandlerRootView, see this issue.
  • getAspectRatioSize utility function has been replaced by fitContainer.
  • Gallery custom transition data has changed.

🗃️ Miscellaneous

  • Update example app to Expo 52.
  • Pinch implementation is 100% complete, no workarounds are needed anymore.