Svelte: Transitions broken in version 1.43.0

Created on 27 Nov 2017  Â·  4Comments  Â·  Source: sveltejs/svelte

Maybe it's related to the work on #956

None of the transitions work anymore, and we get an error from rollup Cannot read property 'snippet' of undefined

This is a link directly from the user guide examples for transitions

You will see the error as soon as you open the example in the REPL.

All 4 comments

Addendum:
Works perfectly in 1.42.0
but does not work in 1.42.1

@Rich-Harris I think this is not completely solved yet.

Compare this (shows an error message) with this (works perfectly)

To clarify, when transition parameters are sent from data it barfs in 1.43.1. Whereas, it used to work perfectly fine in 1.42.0

This REPL works.

@Rich-Harris can this issue be reopened please?

It seems that it can evaluate scope variables inside each blocks, but cannot evaluate items from inside data itself.

Thanks @ekhaled — this is fixed in 1.44.1

Was this page helpful?
0 / 5 - 0 ratings