AlmeroSteyn / AlmeroSteyn/react-aria-live

`clearOnUnmount` not working?

Aperta
#20 1 commento 5 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
205
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.