Skip to content

0.1.0

Choose a tag to compare

@rasitayaz rasitayaz released this 09 Jun 16:32
· 12 commits to main since this release
631256d

Added

  • Manual Position Override: New showAbove parameter in showToast() method allows manual control over toast positioning
    • Set showAbove: true to force toast above the anchor
    • Set showAbove: false to force toast below the anchor
    • Set showAbove: null (default) to use automatic smart positioning

Improved

  • Keyboard-Aware Positioning: Smart positioning now considers view insets (keyboard, system UI) for better toast placement
    • Automatically accounts for keyboard height when calculating available space
    • Uses visible screen area center instead of full screen center when keyboard is shown
    • Ensures toasts remain visible and accessible when keyboard or other system UI is active