nuka-carousel icon indicating copy to clipboard operation
nuka-carousel copied to clipboard

Memory Leak - InertManager retaining references all detached dom elements

Open markphilpot opened this issue 4 years ago • 0 comments

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.

CleanShot 2021-07-06 at 14 54 52@2x

markphilpot avatar Jul 07 '21 16:07 markphilpot