tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

DialogBox 启用拖动时,能否设置鼠标的位置为拖动范围的限制

Open lanrenbulan opened this issue 1 year ago • 10 comments

启用拖动时,允许将窗口一直拖动到鼠标的位置。

比如向左拖动,目前是当窗口左边达到最左时,就不能继续拖动了。预期的效果是还能继续拖动,直到鼠标的位置。

image image

lanrenbulan avatar Dec 18 '23 03:12 lanrenbulan

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


Title: DialogBox When dragging is enabled, can the mouse position be set as the limit of the dragging range?

When dragging is enabled, the window is allowed to be dragged all the way to the mouse location.

For example, when dragging to the left, currently when the left side of the window reaches the far left, you cannot continue dragging. The expected effect is that you can continue dragging until the mouse position.

image image

Issues-translate-bot avatar Dec 18 '23 03:12 Issues-translate-bot

不难实现,得看是否需要设置

wNing50 avatar Dec 21 '23 11:12 wNing50

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


It’s not difficult to implement, it depends on whether you need to set it up

Issues-translate-bot avatar Dec 21 '23 11:12 Issues-translate-bot

@lanrenbulan 想了解下是什么场景下需要将弹窗拖到窗口之外呢?

kagol avatar Jan 27 '24 02:01 kagol

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


@lanrenbulan Want to know under what circumstances do you need to drag the pop-up window out of the window?

Issues-translate-bot avatar Jan 27 '24 02:01 Issues-translate-bot

不难实现,得看是否需要设置

感谢你的贡献,咱们先了解下用户的使用场景,再做判断。@wNing50

kagol avatar Jan 27 '24 02:01 kagol

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


Not difficult to implement, it depends on whether settings are required

Thank you for your contribution. Let’s first understand the user’s usage scenarios before making a judgment. @wNing50

Issues-translate-bot avatar Jan 27 '24 02:01 Issues-translate-bot

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


Many of the company's screens are very small. If you use a dialog to create a form, if you can't drag it outside the window, there won't be much room for dragging.

Issues-translate-bot avatar Jan 29 '24 01:01 Issues-translate-bot

@lanrenbulan 想了解下是什么场景下需要将弹窗拖到窗口之外呢?

公司电脑屏幕都很小,在用dialog内做表单时,如果不能拖到窗口外,都没有多少的拖动空间

lanrenbulan avatar Jan 29 '24 01:01 lanrenbulan

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


@lanrenbulan Want to know under what circumstances do you need to drag the pop-up window out of the window?

The computer screens in the company are very small. When using the dialog to create forms, if you cannot drag them outside the window, there is not much room for dragging.

Issues-translate-bot avatar Jan 29 '24 01:01 Issues-translate-bot

目前最新版版本,可将弹窗拖出浏览器窗口外,已实现

James-9696 avatar Jul 31 '24 06:07 James-9696

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


The latest version currently allows you to drag the pop-up window out of the browser window, which has been implemented

Issues-translate-bot avatar Jul 31 '24 06:07 Issues-translate-bot