question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shallow transitions

See original GitHub issue

Is there a way to bypass this exception when component has transitions?

TypeError: Cannot read property 'split' of undefined
    getTransitionInfo (node_modules/vue/dist/vue.runtime.common.js:6145:58)
    whenTransitionEnds (node_modules/vue/dist/vue.runtime.common.js:6115:13)
    Timeout._onTimeout (node_modules/vue/dist/vue.runtime.common.js:6342:11)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:6
  • Comments:35 (30 by maintainers)

github_iconTop GitHub Comments

3reactions
mlegcommented, Jul 25, 2018

Like disitec, I managed to work the problem around by brute force stubbing getComputedStyle function. Just keep in mind you can amend jsdom implementation instead of replacing it:

const { getComputedStyle } = window
window.getComputedStyle = function getComputedStyleStub(el) {
	return {
		...getComputedStyle(el),
		transitionDelay: '',
		transitionDuration: '',
		animationDelay: '',
		animationDuration: '',
	}
}
2reactions
beliolfacommented, Jul 27, 2017

Don’t worry! I’m aware that you are working very hard in the official Vue testing. I’m looking forward to try out.

I’ve been busy as well but maybe I can start looking into it next week on.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deep transformation or shallow transition? How can we ...
One thing is clear: we are not yet on track to deliver a deep transformation of our systems. We instead are running the...
Read more >
The most important choice we face: 'shallow transition' or ...
The most important choice we face: 'shallow transition' or 'deep transformation'? Exploring how change happens. Caroline Ashley ...
Read more >
HOW TO SHALLOW OUT YOUR TRANSITION - EASY DRILL
Steep transitions are common, very common and they cause golfers all over the world to hit weak, mis guided golf shots that rarely...
Read more >
How To Feel Your Club Shallow In Transition - YouTube
Join as a Monthly Member and get your first month for FREE with code FREEMONTHhttps://golfsmartacademy.com/?ref_id=youtubeMonthly Golf Smart ...
Read more >
Go for deep transformation, beyond shallow transition, Columns
It appears we are at the crossroads between shallow transitions and deep transformations, with a clear need for the latter both in the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found