nuka-carousel
nuka-carousel copied to clipboard
Memory Leak - InertManager retaining references all detached dom elements
Bugs and Questions
Describe Your Environment
- What version of nuka-carousel are you using? 4.7.8
- What version of React are you using? 16.10, 17.x
- What browser are you using? Chrome
Describe the Problem
wicg-inert polyfill seems to be retaining a reference to all Detached HTML*Elements that enter it's system (I'm assuming it's all DOM elements with inert set to true. Any repeated mount/unmount cycle of the Carousel where there are more elements that can be visible at once (so that nuka marks them as inert) will show this behavior.