npm @lodev09/react-native-true-sheet 3.5.0
Release 3.5.0

latest releases: 3.5.1-beta.2, 3.5.1-beta.1, 3.5.1-beta.0...
one day ago

Highlights

This release focuses on Android improvements with smoother animations, better keyboard handling, and significant code refactoring for maintainability.

Features

  • Improved transition animations - Present and dismiss animations are now programmatic with synchronized dim view alpha transitions (#337)
  • Better keyboard handling - Sheet expands to last detent when keyboard shows and restores original position when keyboard hides (#337)
  • Smart keyboard dismissal - Keyboard automatically dismisses when dragging the sheet down below the original detent position (#337)

Bug Fixes

  • fix(android): Use window visibility to prevent keyboard non-focus issues
  • fix(android): Use target keyboard height for accurate detent calculations
  • fix(android): Improve keyboard handling and detent restoration
  • fix(android): Animate dim view alpha when restoring from modal
  • fix(android): Coordinate sheet stack restoration when modal dismisses

Internal

  • Extracted TrueSheetDetentCalculator on both iOS and Android for cleaner detent calculation logic (#337)
  • Extracted TrueSheetAnimator on Android for present/dismiss animations (#337)
  • Reorganized TrueSheetViewController with consolidated state management using InteractionState sealed class
  • Removed unused animation resources and styles

Full Changelog: v3.4.2...v3.5.0

Don't miss a new react-native-true-sheet release

NewReleases is sending notifications on new releases.