Bug: Events never get deleted in nav component

In my app, i have a vertical navigation setup that used to have event handlers set for each item. but recently, i encountered an issue where red linting remained appearing even when i replicated the component and deleted all the event handlers and even the menu items themselves. upon closer inspection, i found that event keys were accumulating and never deleted, thus its why the linting never turns off. nothing can be done about it at the moment apart from recreating the entire sidebar menu again and binding everything. hope this gets fixed soon.

Hey @Retooler - good catch. This particular issue was previously reported but not prioritized due to the fact that it didn't have any functional impact. It would be nice to get that cleaned up, though. I've added this additional context to the internal ticket and bumped it on your behalf. :+1:

The only way I was able to solve the issue was by renaming the component and updating the name in css. the red linting then turned off.

1 Like