Skip to content

Releases: labolado/react-solar2d

Release v8

Choose a tag to compare

@github-actions github-actions released this 26 May 17:17

Full Changelog: v7...v8

Release v7

Choose a tag to compare

@github-actions github-actions released this 26 May 16:16

Full Changelog: v6...v7

Release v6

Choose a tag to compare

@labolado labolado released this 26 May 11:04

fix(scrollview): re-validate cached drag child between touch phases

ScrollViewFactory captured the drag target at the began phase and reused the reference on moved/ended without checking liveness. If React reconciled the sub-tree mid-gesture (e.g. a Slider whose onValueChange triggered setState), the cached overlay instance was destroyed and the forwarded calls hit a dead ref with no contentBounds, silently freezing the drag. Re-lookup with the original began position when stale, and skip the call entirely if no live replacement exists.

Release v5

Choose a tag to compare

@github-actions github-actions released this 15 May 08:06

Full Changelog: v4...v5

Release v4

Choose a tag to compare

@github-actions github-actions released this 15 May 07:45

Full Changelog: v3...v4

Release v3

Choose a tag to compare

@github-actions github-actions released this 15 May 07:38

Full Changelog: v2...v3

Release v2

Choose a tag to compare

@github-actions github-actions released this 15 May 06:46

Full Changelog: v0.3.0...v2

Release v0.3.0

Choose a tag to compare

@labolado labolado released this 31 Mar 10:41

New Components

  • DraggableView — single-finger drag with snap-to-grid, snap-back, bounds
  • PinchableView — 2-finger pinch-zoom + rotate with incremental transforms
  • DrawingCanvas — multi-finger painting with brush color/size
  • Joystick — virtual joystick with circular bounds and normalized output
  • PagerSlideView — paginated swipe view with dot indicators (virtualized)
  • ConfirmButton — two-step confirmation button with auto-reset timeout
  • SwitchButton — N-state cycling toggle

Framework Improvements

  • Multitouch support: system.activate("multitouch") enabled globally
  • TouchRegistry — global finger ownership prevents component conflicts
  • TrackDot pattern — reliable per-finger touch on real devices
  • _directManipulation flag — gesture components bypass Yoga layout
  • layoutWidth/layoutHeight — public API for Yoga-computed dimensions
  • ScrollView multi-finger guard (primaryTouchId)

Kitchen Sink Demos

  • Touch category: Draggable, Pinch, Drawing, Stickers, Gamepad, Pager
  • Buttons category: Confirm, SwitchButton

Full Changelog: v1...v0.3.0

Release v1

Choose a tag to compare

@github-actions github-actions released this 30 Mar 09:45