Repository navigation
Releases: labolado/react-solar2d
Release list
Release v8
Full Changelog: v7...v8
Release v7
Release v6
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
Release v4
Release v3
Release v2
Release v0.3.0
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
_directManipulationflag — gesture components bypass Yoga layoutlayoutWidth/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
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1
Full Changelog: https://github.com/labolado/react-solar2d/commits/v1