AlmeroSteyn / AlmeroSteyn/react-aria-live

`clearOnUnmount` not working?

未关闭
#20 1 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
205
派生
26
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。