You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot detected the issue body's language is not English, translate it automatically.
The selected box uses fixed positioning. The fixed positioning is relative to the screen viewport by default, so the display level of the selected box is always above the canvas. Even adding overflow: hidden to the canvas container has no effect. https://developer.mozilla.org/zh-CN/docs/Web/CSS/position#fixed
Activity
Issues-translate-bot commentedon Dec 18, 2023
Title: 🐛 [Bug]: The display level of the checkbox of a component or element in the canvas is incorrect
gene9831 commentedon Dec 21, 2023
选中框使用的
fixed定位,fixed定位默认是相对于屏幕视口(viewport),所以选中框显示层级一直在画布之上,即使给画布容器加上overflow: hidden也无效https://developer.mozilla.org/zh-CN/docs/Web/CSS/position#fixed
Issues-translate-bot commentedon Dec 21, 2023
The selected box uses
fixedpositioning. Thefixedpositioning is relative to the screen viewport by default, so the display level of the selected box is always above the canvas. Even addingoverflow: hiddento the canvas container has no effect.https://developer.mozilla.org/zh-CN/docs/Web/CSS/position#fixed