Minor Changes
- #3252
c5786c1Thanks
@github-actions! - - AddedreasontoonValueChangeandonValueCommit
details, describing what caused the change:input-change,input-blur,keyboard,increment-press,
decrement-press,wheel,scruborscript.- Fixed issue where
onValueCommitdid not fire for a released stepper, a finished scrub,api.setValueor
api.clearValue. It now fires once per settled interaction, including a scrub that streams many steps.
- Fixed issue where
Patch Changes
-
#3252
c5786c1Thanks
@github-actions! - - Fixed issue whereonFocusChangereported focus the
input never received. Pressing a stepper or the scrubber reportedfocused: trueeven whenfocusInputOnChangewas
falseand nothing was focused. Focus is now reported from the input's own focus event.- Fixed issue where pressing
EnterreportedonFocusChange({ focused: false })while the input kept focus.
- Fixed issue where pressing
-
#3252
c5786c1Thanks
@github-actions! - - Fixed issue where a cancelled pointer left the value
stepping on its own. A hold interrupted by touch scrolling or a re-render never ended, and the repeat interval kept
running.- Fixed issue where holding a stepper on touch could raise the context menu and interrupt the repeat.
-
#3252
c5786c1Thanks
@github-actions! - - Fixed issue whereonValueInvalidreported the wrong
value and reason. Withmax: 1000, typing5000and blurring reportedrangeUnderflowfor the clamped value1000,
which is in range. It now reportsrangeOverflowand5000.- Changed when
onValueInvalidfires: as the out-of-range value is entered rather than on blur, and no longer when
clamping brings the value back into range.
- Changed when
-
#3252
c5786c1Thanks
@github-actions! - - Fixed issue wherePageUpandPageDowndid not step
the value. They now step bylargeStep, matchingShift + ArrowUpandShift + ArrowDown.- Fixed issue where
aria-valuetextwas only set viatranslations.valueText, so a value formatted as$500.00was
announced as "500" by screen readers. It now falls back to the formatted value.
- Fixed issue where
-
Updated dependencies [
2668edc,
06ddeb3,
6d57458,
734b5e8,
e8b99d2,
2859ef6,
2859ef6,
2859ef6]:- @zag-js/dom-query@2.0.0-next.2
- @zag-js/core@2.0.0-next.2
- @zag-js/types@2.0.0-next.2
- @zag-js/utils@2.0.0-next.2
- @zag-js/anatomy@2.0.0-next.2