Closed fzn0x closed 5 months ago
<Slider ref={itemContainerRef} {...settings}>
seems like ref is not working for DOM operations
Uncaught TypeError: Cannot read properties of undefined (reading 'remove')
i got this when try to remove the Slider classList
This is solved by referencing it as a children
<Slider ref={itemContainerRef} {...settings}>
seems like ref is not working for DOM operations
Uncaught TypeError: Cannot read properties of undefined (reading 'remove')
i got this when try to remove the Slider classList