Commit Graph

72 Commits

Author SHA1 Message Date
DSha 4de4649d96 fix(transition): fix appear check for transition wrapper components (#9668) 2019-03-14 15:45:42 +08:00
Matt Lavallee 2e472c5e5e fix(component): clean up memory leak after loading async component completes (fix #8740) (#8755)
* fix(component): clean up memory leak after loading async component completes

* fix(async component): accounting for async components with loading property

* refactor(component): simplifying memory cleanup logic
2018-11-30 17:36:08 -05:00
Haoqun Jiang 0b16927c9d fix(transition): check existence of `el.parentNode` (#8422)
fix #8199

* fix(transition): check existence of `el.parentNode`

If the new parentNode gets a `textContent` or `innerHTML` property during
patching, the `transition` node would have been detached early, which means
`el.parentNode` no longer exists.

* fix(vdom): should not reuse nodes with `textContent` / `innerHTML` props
2018-10-24 13:26:20 -04:00
Sam Lichlyter 5489339a30 refactor(core): Replace "var" (#8299)
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
2018-10-24 13:07:40 -04:00
Guillaume Chau 5191f13472 fix(transition): should not add transition class when cancelled (#7391)
fix #7390
2018-01-05 17:45:59 -05:00
Evan You 6b799190a5 test: add test case for #6687 + fix lingering comment node 2017-11-16 10:09:15 -05:00
Josh Soref f477ecdbbb chore: spelling (#6535) 2017-09-07 07:33:09 -04:00
Evan You 1bf98b0a99 test: adjust transition tests for firefox 2017-07-12 16:27:01 +08:00
wenlu.wang d8d4ca6763 fix: transition group should work with dynamic name (#6006) (#6019)
* fix: transition group should work with dynamic name (#6006)

* fix: improve remove class
2017-07-05 09:17:35 +08:00
Evan You 13bb643d6f handle in-out transition with async components 2017-06-05 22:21:45 +08:00
Evan You c3cdfcfa68 fix out-in transition for async components (fix #5760) 2017-06-05 19:01:23 +08:00
YOU 61930e0cc6 chore(test): fix some typos (#5101) 2017-03-06 09:50:49 +01:00
Evan You 10e724fa78 support string values for transition duration 2017-02-25 18:58:15 -05:00
Evan You 680494690f give long transition test specific timeout value 2017-02-23 22:43:23 -05:00
Evan You 8d25e8f574 make explicit transition duration tests more stable 2017-02-21 22:19:08 -05:00
Evan You 42492ffaf9 adjust explicit transition duration tests 2017-02-21 22:08:25 -05:00
Guillaume Chau 0598ab0c64 #4371 - Explicit transition durations (#4857)
* Add transition explicit duration

* Fix tests for explicit transition duration

* Tweaks & default to milliseconds

* Better tests

* Better test for change value case

* Fix transition duration tests

* Better flow typing

* Fix transition test

* Revert "Fix transition test"

This reverts commit db75b3801ed11182119c78ebae87f40a62803714.

* Fix transition test


Revert "Fix transition test"

This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
Fix transition test

* Better flow types

* Warn message

* Better prop handling

* Better flow typings

* adjustments
2017-02-15 18:37:09 -05:00
p(^-^q) 8bf5af8edf fix `addClass` utlil bug (#4863)
* fix addClass util bug

`<transition-group move-class=“ value with leading or trailing whitespace ” />`

* fix addClass util bug

`<transition-group move-class=“ value with leading or trailing whitespace ” />`

* fix addClass util bug

`<transition-group move-class=“ value with leading or trailing whitespace ” />`

* update test case for `addClass / removeClass` util
2017-02-06 11:53:04 -05:00
Evan You 0cbc96101d add new transition to-state classes 2016-12-27 15:03:48 -05:00
Evan You 02e2d99e27 Revert "ensure leave transitions and enter transitions are triggered in the same frame (fix #4510)"
This reverts commit 92ad0bd378.
2016-12-27 14:11:45 -05:00
Evan You 0bb2d4e2b6 Revert "fix enter transition flicker regression (fix #4576)"
This reverts commit 89987e8e2c.
2016-12-27 14:11:40 -05:00
Evan You 89987e8e2c fix enter transition flicker regression (fix #4576) 2016-12-27 10:16:45 -05:00
Evan You 92ad0bd378 ensure leave transitions and enter transitions are triggered in the same frame (fix #4510) 2016-12-21 22:03:50 -05:00
Evan You 612d32105a fix transition v-show display toggle timing for enter hooks (fix #4418) 2016-12-08 16:54:09 -05:00
Evan You 16e3dae245 fix eslint and coverage 2016-11-24 12:59:19 -05:00
Evan You c994146372 increase transition test duration buffer on saucelabs 2016-11-19 22:08:06 -05:00
Evan You c791fc7826 fix unit tests in IE9 2016-09-23 18:16:43 -04:00
Evan You a00170cbb9 remove unnecessary appear check in v-show (fix #3559) 2016-08-30 10:45:38 -04:00
Evan You 68be112652 Revert "support transition on component with v-show in root node (fix #3431)"
This reverts commit aab560e0d9.
2016-08-15 22:58:18 -04:00
Evan You efb603570e fix patch modules error on empty component root 2016-08-15 00:28:48 -04:00
Evan You aab560e0d9 support transition on component with v-show in root node (fix #3431) 2016-08-14 22:15:33 -04:00
Evan You 854ccce5d5 prevent out-in transition to enter early when parent re-renders (fix #3440) 2016-08-14 18:49:48 -04:00
Evan You 63fe7fc76d fix spec fit 2016-08-12 13:51:44 -05:00
Evan You 299f529498 fix transition enter hook for v-show (fix #3433) 2016-08-12 13:46:03 -05:00
Evan You 2d58d0e3d7 fix all unit tests 2016-08-05 13:23:43 -04:00
Evan You 351aef3cb4 use comment node as empty placeholder (fix <transition> SSR hydration) 2016-08-05 01:52:09 -04:00
Evan You 6e471ea2ee fix v-show transition on child component root (fix #3354) 2016-07-31 17:31:02 -04:00
Evan You 40e37f17d2 remove transition text node warn spec 2016-07-28 18:50:05 -04:00
Evan You 998ea85b3e support explicit transition type 2016-07-26 23:26:05 -04:00
Evan You 593cf3929e fix move test case 2016-07-17 01:40:31 -04:00
Evan You 6f4601ceeb test transition-group 2016-07-14 17:51:25 -04:00
Evan You 210a3a22b0 test in-out early cancel with keep-alive 2016-07-14 12:26:31 -04:00
Evan You ccf3a61532 improve transition coverage 2016-07-14 12:20:18 -04:00
Evan You 70e531a3f3 test removing stale leaving elements 2016-07-14 11:06:22 -04:00
Evan You cf133365d5 test transition HOC 2016-07-14 10:59:10 -04:00
Evan You 45a489ba81 support move transitions in transition-group 2016-07-13 21:49:09 -04:00
Evan You 6672481b58 fix transition test in phantomjs 2016-07-13 14:14:24 -04:00
Evan You e94ad1437e remove vm argument in transition hooks 2016-07-13 13:51:45 -04:00
Evan You bb3fe8e68b update transition mode specs 2016-07-13 13:13:57 -04:00
Evan You fcb1e38b13 update transition tests for new syntax 2016-07-13 11:39:03 -04:00