Skip to content

0.5.2 — Android honours pointerEvents

Choose a tag to compare

@kbrattli kbrattli released this 12 Oct 21:54
· 30 commits to main since this release

A bug-fix release for Android touch handling. No native interface change: the packet and props are the same as 0.5.1, so a rebuild picks up the fix without any JavaScript change.

  • Fix: Android ignored pointerEvents on SmoothClipView and
    SmoothClipBackdropView
    , so both took every touch inside their bounds.
    iOS already honoured it.
  • useSmoothClipController validates and canonicalizes its initial
    presentation on the first render only, the render that seeds the host. A
    caller that rebuilds the object every render (a presentation derived from a
    layout width) no longer pays a canonicalization per render; a later invalid
    value is ignored rather than thrown, as it was already never applied.
  • Test: the full-turn rotation interruption XCTest reads a 20 s run begun 8 s
    in the past instead of a 2 s run begun 0.6 s ago, so a loaded CI machine can
    no longer overrun its window (it read 4.6 turns, past the < 4 pi bound).