限制和可拖动项目不会出现在顶端 - 版本II [英] Constraints and draggable item not appearing on top - Version II

查看:76
本文介绍了限制和可拖动项目不会出现在顶端 - 版本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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆