Skip to content

1.4.2

Choose a tag to compare

@MohamedAbdElNaby MohamedAbdElNaby released this 30 Oct 08:22
· 7 commits to main since this release

Includes the 1.4.1 changes below: 1.4.1 was tagged on GitHub but never
published to npm.

Fixed

  • Android: LiquidMenu opens like iOS. The menu grows out of the button as a
    drop: clear glass over the button at first (no more dark disc), then its
    blur, material and shadow build up as it grows and the items sharpen in. It
    starts on the first frame and grows frame by frame, so it no longer pauses
    or jumps when opening the menu stalls the app. The button stays under the
    drop until the drop covers it, and comes back as the menu shrinks into it.
  • Android: a bare LiquidMenu inside a glass (a toolbar capsule) opens out of
    that whole glass, like iOS: the capsule becomes the drop that grows into the
    menu, and the menu shrinks back into the capsule when it closes.
  • Android: the end of a menu's close is smooth, like iOS. The drop and the
    button it shrinks into cross-fade while the drop is nearly the button's size,
    instead of the button popping back under a drop still on screen, and the
    close ends there rather than in the spring's slow tail.
  • Android: a morph could snap to its end. Its spring ran on the clock, so when
    the app stalled as the morph started (a busy GPU, a screen recorder), it had
    already finished by the next frame. It now advances once per drawn frame, by
    at most a 30 fps frame, so it always stretches through.
  • Android: glass no longer re-records what is behind it on every frame when
    nothing there changed, and glass that is off screen is skipped. A new
    recording makes the GPU blur that glass again, so every glass on screen was
    re-blurred on every frame of any animation. Busy screens animate faster
    (Glass Lab: UI thread per frame 25 ms → 8 ms).

1.4.1 (2026-10-30, not published to npm; shipped in 1.4.2)

Changed

  • Android: regular glass blurs at 20 dp by default (was 8), a frost closer to
    iOS regular glass; in dark mode it lightens what is behind it, like iOS,
    instead of dimming it into navy pills. Pass blurRadius to keep the old
    look.

Fixed

  • Header: useLiquidNavigationHeader(navigation, …) gave a TypeScript error
    (TS2345) with React Navigation's own navigation object in 1.4.0. The
    header's addListener type is loose again, so every navigator's
    navigation is accepted.
  • Android: a morph glass flashed its final shape for one frame before
    animating from the old one (the Select / menu buttons of the example). The
    old shape is now applied while the view is laid out, so the first frame at
    the new size already starts from it.
  • Android: the tab bars' lifted drop (bottom and top) had a thick white
    outline. Its edge is now a faint glint on a hairline, like iOS.
  • Android: when a morph also added or removed a child (e.g. the toolbar's
    "•••" menu), the content that stayed (the "≡") jumped to its new place
    while the glass was still stretching. Like iOS, it now fades out and back
    in with the rest.
  • Android: content in a morphing glass could stay half faded (e.g. the ✕ of
    the example's toolbar) when a second morph started during the fade. The
    fade now always returns to the content's own opacity.
  • Android: in dark mode a neighbouring glass was drawn into a lens as a dark
    grey pill, showing as a dark smudge during morphs. It is now the same light
    frost as the glass itself.
  • Bottom tab bar search: no more "Passing an object as the argument to
    'navigate' is deprecated" warning from React Navigation 7 when the search
    opens, changes or closes.