dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs

Home Page:https://univer.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] 同时打开多个dialog时,支持它们的遮挡调整

xxs3315 opened this issue · comments

Initial checklist

  • Is this really a problem?
  • I have searched the Github Issues for similar issues, but did not find anything.

Problem

现在同时打开多个dialog,无法调整遮挡关系,先打开的dialog被后打开的dialog遮挡。

Solution

也许需要动态调整dialog的z-index?

添加了一个gif,演示了多个dialog同时打开时,它们的遮挡关系无法调整,即使使用了鼠标点击或拖拽。

期望:某个dialog在接收到点击事件之后,可以移至顶层显示(不被其他dialog遮挡)

2

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

A gif has been added to demonstrate that when multiple dialogs are opened at the same time, their occlusion relationship cannot be adjusted, even if the mouse is clicked or dragged.

Expectation: After receiving a click event, a dialog can be moved to the top level for display (not blocked by other dialogs)

2

如果dialog组件可支持更多的属性/功能如:记忆位置,调整窗口大小等等,那就更好了。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

It would be better if the dialog component could support more attributes/functions such as memory position, window resizing, etc.