Skip to content

1.0.2

Choose a tag to compare

@github-actions github-actions released this 29 Oct 01:12

Fixed

    • Dialog: aria-modal now follows the modal prop while the dialog is open.
    • Questionnaire: Arrow Up/Down on a multiple-choice question no longer gets stuck when a choice is disabled; it wraps among the enabled boxes.
    • Questionnaire: a question or choice that appears between two others is ordered by its place on the page (next/previous, progress, letter and number shortcuts), not by when it mounted.
    • Toast: toaster.promise with a source function that throws before returning a promise now ends as a failed toast and a rejected result, instead of leaving a loading toast that never closes.
    • MessageScroller: scrollToMessage finds a message by its current id when the id of a mounted row changes.
    • Slider: a step that is zero, negative or not a number is read as 1 (it used to make the keyboard do nothing); a development warning (SLIDER_INVALID_STEP) names it. A NaN in a controlled value reads as the minimum instead of reaching aria-valuenow and the thumb's style.
    • ScrollArea: dragging a thumb listens on the window of the thumb's own document, so a thumb inside an iframe follows the frame's pointer.
    • Toast: createToaster takes maxWaiting (default 100); toasts waiting for a free slot past it are dropped, oldest first.