Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Sidebar): clear timer when unmounting #3052

Merged
merged 3 commits into from
Aug 7, 2018
Merged

fix(Sidebar): clear timer when unmounting #3052

merged 3 commits into from
Aug 7, 2018

Conversation

hissalht
Copy link
Contributor

…omponent (#3045)

The animation timer was not cleared when unmounting the Sidebar
component resulting in a React warning if the Sidebar was unmounted
while closing or opening.

fixes #3045

@codecov-io
Copy link

codecov-io commented Jul 29, 2018

Codecov Report

Merging #3052 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3052      +/-   ##
==========================================
+ Coverage   99.96%   99.96%   +<.01%     
==========================================
  Files         163      163              
  Lines        2738     2739       +1     
==========================================
+ Hits         2737     2738       +1     
  Misses          1        1
Impacted Files Coverage Δ
src/modules/Sidebar/Sidebar.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4295b56...f0a040d. Read the comment docs.

hissalht and others added 2 commits July 30, 2018 03:38
…omponent (#3045)

The animation timer was not cleared when unmounting the Sidebar
component resulting in a React warning if the Sidebar was unmounted
while closing or opening.

fixes #3045
@layershifter layershifter changed the title fix(Sidebar): clear the animation timer when unmounting the Sidebar c… fix(Sidebar): clear timer when unmounting the Sidebar Aug 5, 2018
@layershifter layershifter changed the title fix(Sidebar): clear timer when unmounting the Sidebar fix(Sidebar): clear timer when unmounting Aug 5, 2018
@welcome
Copy link

welcome bot commented Aug 7, 2018

Congrats on merging your first pull request! 🎉🎉🎉

robot victory dance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

a closing sidebar causes react warning
4 participants