AlmeroSteyn / AlmeroSteyn/react-aria-live

`clearOnUnmount` not working?

Offen
#20 1 Kommentar 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
205
Forks
26
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hey there, thanks so much for your work on this!

I see in your documentation that `clearOnUnmount` should allow identical messages to be repeated. This is something we'd like to accomplish in a feature where a small toast element should be repeatedly visible if another element is focused. I see that there is handling for re-calculating the ids, but it doesn't appear as though those ids make their way into the messages that get rendered here: https://github.com/AlmeroSteyn/react-aria-live/blob/0e399857b7e3d0da6d8e5b678814433c3d825237/src/modules/Announcer.js#L76

I'm setting `clearOnUnmount` but the messages do not appear to rebroadcast using VoiceOver in Chrome. Could you help get me moving in the right direction?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.