naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

Make `<NModal />` Draggable

Open richwxd opened this issue 2 years ago • 3 comments

This function solves the problem (这个功能解决的问题)

As we know, multiple frameworks has good features for some scene, such as drag & drop a modal by clicking title, making max size in a frame. Could naiveui support them too?

Expected API (期望的 API)

Please see avuejs modal as a sample.

richwxd avatar Oct 21 '21 09:10 richwxd

Draggable: May be possible if scrolling is disabled. Fullscreen: May be possible but not planned yet.

07akioni avatar Oct 21 '21 16:10 07akioni

啥时候能加上这个功能不?迫切需要

ue360 avatar Jan 11 '22 01:01 ue360

啥时候能加上这个功能不?迫切需要

不在短期计划中,建议不要等这个

Not planned in short term

07akioni avatar Jan 11 '22 03:01 07akioni

迫切需要这个功能,因为modal会遮住后面的内容,有些客户需要把dialog拖动其他位置,查看父级内容

liu-xinhui avatar Nov 18 '22 14:11 liu-xinhui

关注中

ForeverSun avatar Mar 01 '23 01:03 ForeverSun

+1

maddenBoy avatar May 10 '23 03:05 maddenBoy

+1

peter-brennan avatar Nov 04 '23 04:11 peter-brennan

duplicate https://github.com/tusen-ai/naive-ui/issues/2152

jahnli avatar Dec 29 '23 13:12 jahnli