Prevent DataSearch/Downshift from generating a11y-status-message div #1612
Unanswered
teemukostamo
asked this question in
Q&A
Replies: 1 comment
-
This got answered here: downshift-js/downshift#1238 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using ReactiveSearch & Datasearch component, some unwanted html is generated at the bottom of the page:
<div id="a11y-status-message" ...>
I'm assuming that's because ReactiveSearch uses Downshift under the hood. How can I prevent that div from being generated?
I've tried adding
downshiftProps
toDataSearch
component:but this only prevents the invisible
<div>
s from being generated inside thea11y-status-message
div when user highlights the search field or starts typing.Any other ways to get rid of the unwanted div, besides the somewhat unclean:
document.getElementById("a11y-status-message").remove()
?Or can I disable Downshift entirely?
Beta Was this translation helpful? Give feedback.
All reactions