Open zuihou opened 6 months ago
官方社区精选 里面的这3个框架我都测试了,只要加了 : draggable="true"
都有这个问题。
有没有可能这个属性是HTML5自带支持的效果 https://www.w3school.com.cn/html5/att_global_draggable.asp
有没有可能这个属性是HTML5自带支持的效果 https://www.w3school.com.cn/html5/att_global_draggable.asp
有可能,但作为navie-ui的封装,应该能屏蔽一些不必要的属性吧。
例如,ant-design-vue 等框架的Modal组件,加了 :draggable="true"
就不会有任何效果
官方是不自持拖拽的
Describe the bug
Steps to reproduce
在文档中没有看到
draggable
参数的介绍,我就理解为Modal组件不支持:draggable="true"
属性,但我给Modal加上:draggable="true"
后,弹框就支持拖拽了Link to minimal reproduction
1
System Info