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

Bug: calendar lingers when navigating to a different page #65

Closed
Grotlo opened this issue Jan 28, 2020 · 2 comments · Fixed by #67
Closed

Bug: calendar lingers when navigating to a different page #65

Grotlo opened this issue Jan 28, 2020 · 2 comments · Fixed by #67

Comments

@Grotlo
Copy link

Grotlo commented Jan 28, 2020

When you navigate out of a page which has the calendar, the previous page lingers between a quarter and a half second before destroying. I found that the issue lies with line 18 in Week.svelte:

out:fade={{ duration: 180 }}

<div 
  class="week" 
  in:fly={{ x: direction * 50, duration: 180, delay: 90 }}
  out:fade={{ duration: 180 }}
>

I haven't made a PR on this since I couldn't figure out how to replace that line in CSS.

@antony
Copy link
Contributor

antony commented Feb 14, 2020

I think this relates to the way transitions work in Svelte/Sapper. I'm experiencing an issue now where the calendar's use of transitions actually breaks Sapper's routing.

@antony
Copy link
Contributor

antony commented Feb 14, 2020

Relates to this issue: https://github.com/sveltejs/sapper/issues/814

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

Successfully merging a pull request may close this issue.

2 participants