Commit Graph

11 Commits (d6495351377983d76d479082c2acd299da9ee7c3)

Author SHA1 Message Date
Leopoldthecoder 5ee53016f7 Message/Notification: manage z-index with PopupManager 2016-11-04 17:36:14 +08:00
b1anker 13bfb39e9b Message, Notification: fix transitionend bug
问题描述:
如果我在组件中加入不同的transition或者transition: all
duration的形式,那么this.$el.addEventListener(‘transitioned’,
handeler)就会监听到多次事件,从而导致多次删除,因为节点已经从dom中删除,
所以最后报错:
’main.vue?8f52:44
Uncaught TypeError: Cannot read property 'removeChild' of null’。
解决办法:
就是在第一次监听到动画结束事件时,将监听器移除即可。
2016-11-03 15:36:57 +08:00
Leopoldthecoder 63daf2c989 Message: add test 2016-10-21 11:22:59 +08:00
Leopoldthecoder 3d60efd468 add .type on Notification and Message 2016-10-04 19:22:04 +08:00
Leopoldthecoder 95b40b739e update Message icon style 2016-09-05 20:11:11 +08:00
Leopoldthecoder d2bad291af update Message animation and Rate/Switch doc 2016-09-05 15:34:53 +08:00
Leopoldthecoder eb03154839 DatePicker/DatetimePicker doc update 2016-08-29 19:04:31 +08:00
Leopoldthecoder 1a2566117d Rate/Slider/Message doc update 2016-08-27 16:06:22 +08:00
SkyAo 066c8f727f finish documents of basic & fix bug 2016-08-19 14:45:08 +08:00
Leopoldthecoder 557a09c647 add message 2016-08-15 16:10:12 +08:00
Leopoldthecoder 7e05dab840 init message 2016-08-15 11:51:25 +08:00