v3.0.2
v3.0.2
This patch release hardens the progress button flow and fixes a race condition that could silently drop onPress(next) after a valid press.
Fixed
- Fixed a progress-button race where parent rerenders during the deferred press window could prevent
onPress(next)from being called - Fixed the stuck loading state caused by that dropped press callback
- Added rollback handling when a deferred progress press becomes invalid mid-flight, such as when the button becomes disabled before dispatch
- Preserved the recent gesture protections for blocked loading touches and fast retaps on non-progress buttons
Internal
- Stabilized deferred press and press-out callbacks across rerenders
- Kept debounce behavior intact while preventing accepted presses from being canceled by prop identity changes
- Expanded regression coverage for:
- parent rerenders during the deferred progress window
- mid-flight invalidation of progress presses