jsTree上下文菜单未显示CSS中的Relative位置

时间:2015-10-09 21:49:35

标签: jquery html css jstree jstree-search

知道为什么具有属性position:relative;在我的父div的CSS中阻止jsTree的上下文菜单显示。我终于发现了为什么我的jsTree 3.2中的上下文菜单没有显示,因为这个属性。完整的CSS下面。

#content {
  background: #FFF;
  width: auto;
  min-height: 800px;
  z-index: 18;
  padding-bottom: 25px;
  margin-left: 240px;
  margin-right: 20px;
  position: relative;
  left: auto;
  top: auto;
}

1 个答案:

答案 0 :(得分:1)

原来问题在于z-index。需要更高兴。使用.vakata-context {z-index:somethinghigher; }