Skip to content

Release 0.1.3

Latest

Choose a tag to compare

@rit3zh rit3zh released this 06 Oct 17:48

🪄 morphlet 0.1.3

Smoother morphs, a trigger that stays hidden, and a new Picker example.

🎬 Demo

Android

android-morphlet-picker-example.mp4

iOS

ios-morphlet-picker-example.mp4

✨ What's new

  • Trigger stays hidden while open. Hiding is now done natively, so re-renders can't make the trigger flash back.
  • Accurate morph-back. On dismiss, the trigger's snapshot and colour are re-captured, so the card lands on the trigger's current look.
  • Smooth resizing mid-morph. If content changes size while the tray opens, it settles to the new size instead of snapping.
  • New Picker example. Open it from the home screen of the example app.

🐛 Fixes

  • Hide morph trigger natively and stabilise morph transitions (95c0028)
  • Keep a morph trigger hidden while the tray is presented (d5ca1db)
  • Re-capture the trigger snapshot when morphing back on dismiss (0c613bb)

📦 Install

npm install morphlet@0.1.3

Full changelog: v0.1.2...v0.1.3