The first time a typeahead component is created, an element
<div aria-live="polite" aria-atomic="true" class="sr-only"></div> gets added to body.
This element never gets removed, even if the typeahead component is destroyed.
Link to minimally-working plunker that reproduces the issue:
Your demo itself shows the issue:
- open https://ng-bootstrap.github.io/#/components/tooltip/examples
- check that the div is not present in the bottom of body element
- navigate to typeahead
- check that it was added
- navigate back to tooltip
- check that it is still present
Version of Angular, ng-bootstrap, and Bootstrap:
Introduced in f65b8a4#diff-4b999ef7b06784feb23d420f3d909d1a