{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/1781","labels_url":"https://api.github.com/repos/vuejs/vue/issues/1781/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/1781/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/1781/events","html_url":"https://github.com/vuejs/vue/issues/1781","id":116056175,"number":1781,"title":"The 'afterEnter' hook dose not 'wait for the transition to finish'","user":{"login":"zcoding","id":4773646,"avatar_url":"https://avatars.githubusercontent.com/u/4773646?v=3","gravatar_id":"","url":"https://api.github.com/users/zcoding","html_url":"https://github.com/zcoding","followers_url":"https://api.github.com/users/zcoding/followers","following_url":"https://api.github.com/users/zcoding/following{/other_user}","gists_url":"https://api.github.com/users/zcoding/gists{/gist_id}","starred_url":"https://api.github.com/users/zcoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zcoding/subscriptions","organizations_url":"https://api.github.com/users/zcoding/orgs","repos_url":"https://api.github.com/users/zcoding/repos","events_url":"https://api.github.com/users/zcoding/events{/privacy}","received_events_url":"https://api.github.com/users/zcoding/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-10T07:54:51Z","updated_at":"2015-11-10T07:54:51Z","closed_at":null,"body":"`afterEnter`钩子并没有等到transition结束才调用，而是在transition刚触发后就调用了？\r\n\r\n我以为我写错了，然而我看了[官网的例子](http://vuejs.org/guide/transitions.html#Example)，afterEnter也是在transition结束之前就调用了。但是afterLeave确实在transition结束之后才调用。\r\n\r\n为什么afterEnter没有像afterLeave那样，在transition结束之后才调用呢？这对我写过渡效果的组件影响很大，因为很多时候需要在过渡结束的时候写回调，而过渡的时间又是在CSS里面控制。\r\n\r\n`vue`的版本刚升级到1.0.7，chrome和firefox都试过了。"}}