naive-ui
naive-ui copied to clipboard
Make `<NModal />` Draggable
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.
Draggable: May be possible if scrolling is disabled. Fullscreen: May be possible but not planned yet.
啥时候能加上这个功能不?迫切需要
啥时候能加上这个功能不?迫切需要
不在短期计划中,建议不要等这个
Not planned in short term
迫切需要这个功能,因为modal会遮住后面的内容,有些客户需要把dialog拖动其他位置,查看父级内容
关注中
+1
+1
duplicate https://github.com/tusen-ai/naive-ui/issues/2152