opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.66k stars 264 forks source link

🐛 [Bug]: DialogBox组件拖拽功能,点击右上方的关闭图标的时候会触发拖拽结束事件 #1242

Closed AcWrong02 closed 3 months ago

AcWrong02 commented 10 months ago

Version

latest

Vue Version

latest

Link to minimal reproduction

see this demo:https://opentiny.design/tiny-vue/zh-CN/os-theme/components/dialog-box#draggable image

Step to reproduce

点击关闭图标

What is expected

是否不应该触发拖拽结束事件?

What is actually happening

只点击关闭图标,但是触发了拖拽事件

Any additional comments (optional)

No response

Issues-translate-bot commented 10 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The drag-and-drop function of the DialogBox component will trigger the drag-and-drop event when the close icon in the upper right corner is clicked.

James-9696 commented 3 months ago

目前最新版本,不拖拽,点击关闭close,没有触发拖拽结束事件。

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


The latest version currently does not trigger drag-and-drop, and click close to close the drag-and-drop event.

shenjunjian commented 3 months ago

已经修复该问题

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


This issue has been fixed