element icon indicating copy to clipboard operation
element copied to clipboard

MessageBox优化建议

Open erguotou520 opened this issue 10 years ago • 4 comments

  1. .el-message-box__message p样式建议添加word-wrap: break-word;,原因就是英文没法换行
  2. 弹出效果不要用scale,否则在弹出时弹出层文字模糊,容易产生眩晕感

erguotou520 avatar Oct 08 '16 10:10 erguotou520

针对第 2 个问题,我们也已经注意到,打算将弹出效果与 dialog 保持一致

fishpaw avatar Oct 08 '16 11:10 fishpaw

  1. 考虑到模态框关闭的途径有很多种,而在窗口关闭后进行重置操作又很常见,所以应该提供类似before-show,on-shown,before-hide,on-hidden之类的钩子可以进行自定义操作

erguotou520 avatar Oct 09 '16 10:10 erguotou520

钩子+1

sandysong avatar Oct 09 '16 13:10 sandysong

已改进,等 rc8 发布。

furybean avatar Oct 25 '16 15:10 furybean