限制和可拖动项目不会出现在顶端 - 版本II [英] Constraints and draggable item not appearing on top - Version II
问题描述
OK,所以情况如下:
我正在尝试使用固定宽度(可调整大小)的左侧栏
侧栏包含可拖动元素
如果其中一个元素被拖动到右侧,那么可拖动元素(实际上是帮助器)似乎正在消失在主内容之后。
为什么会发生这种情况?如何解决这个问题?
.html这一个几乎是我之前发布的类似问题的完全重复,尽管这个解决方案对我来说似乎并不明显。
overflow:visible;
.hbox,#content,.vbox 和以下(如果有的话) - 删除 z-index标签!
这是你的错误。希望它现在可以工作,添加在窗格上似乎没有实现。
OK, so here's the situation:
I'm experimenting with a fixed-width (resizeable) left sidebar The sidebar contains draggable elements If one of the elements is dragged to the right, then the draggable element (the helper actually) seems to be disappearing behind the main content.
Why is that happening? Any ideas on how this could be resolved?
Demo: http://83.212.101.132/angjs/ang4.html
This one is almost an exact duplicate of a similar question I had posted earlier, although the solution to this one seems to me rather far from obvious.
.slimScrollDiv SET overflow: visible;
.hbox, #content, .vbox AND following (if there are some) - remove z-index tag!
this was your mistake. Hope it works now, the adding on a Pane seem not to be implemented.
这篇关于限制和可拖动项目不会出现在顶端 - 版本II的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!