react-sticky-el icon indicating copy to clipboard operation
react-sticky-el copied to clipboard

fix issue 82 Scroll element is null

Open gabaaa1 opened this issue 10 months ago • 0 comments

Closes #82

This should fix the issue when React Strict Mode is enabled. Some elements were not initialized on second component mount from React Strict Mode because they were initialized at render function only. After moving the initialization to componentDidMount the issue is fixed.

gabaaa1 avatar Jun 08 '25 11:06 gabaaa1