rpt14-codeblooded / photo-gallery-service

MIT License
0 stars 1 forks source link

Fix bug where carousel resets to first slides on mouseLeave #38

Closed manuelreneduran closed 5 years ago

manuelreneduran commented 5 years ago

My instinct here is that the carousel is re-rendering because the state is changing on mouseEnter and onMouseLeave. I'm going to try refactoring these components to React.PureComponent to keep them from re-rerendering and see if that does anything.

manuelreneduran commented 5 years ago

PureComponent did not work. Shelving this feature for later.