This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
All begins with this line of the code:
|
disabledElementsLookup.set(node, !bool); |
Reproducable: always
Browsers: Any
Operating system: Any
Versions: All that use the hash map
Steps to reproduce:
Available in codepen: https://codepen.io/anon/pen/yqVwwE
click on "leaker" n times to get n detached nodes as seen in the screenshot

Solution: listen for element scope destroy event, or element.on('remove') and delete the node from disabledElementsLookup Map ?
Note: If this is "working as intended" at least provide public api to disabledElementsLookup so we can cleanup after directive exits