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

Transition: Not working properly when 'show' duration is less than 'hide' #2347

Closed
alphapseudo opened this issue Dec 2, 2017 · 1 comment

Comments

@alphapseudo
Copy link

Steps

Create a transition with a show duration smaller than hide duration

<Transition duration={{show: 100, hide: 2000}} animation="fade">
   <h1>Nippertown</h1>
</Transition>

Expected Result

The transition should take 2 seconds to hide the child.

Actual Result

The hide transition will be interrupted at the show duration (e.g. 100 ms) without completing the intended duration (2 seconds).

Version

0.77.0

Testcase

This is reproducible with the example in the documentation. Configure the sliders to reflect a show value less than the show value.

@layershifter
Copy link
Member

@alphapseudo Thanks for report, fixed in #2350.

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

No branches or pull requests

2 participants