Jquery mobile jquery移动固定面板不工作1.4.5

Jquery mobile jquery移动固定面板不工作1.4.5,jquery-mobile,panel,fixed,Jquery Mobile,Panel,Fixed,Jquery mobile,固定面板的演示:不工作。左侧面板正在滚动内容 http://demos.jquerymobile.com/1.4.5/panel-fixed/ 注意,ui面板固定样式类仅在面板关闭时添加 <div data-role="panel" data-position-fixed="true" data-display="push" data-theme="b" id="nav-panel" class="ui-panel ui-panel-position-le

Jquery mobile,固定面板的演示:不工作。左侧面板正在滚动内容

http://demos.jquerymobile.com/1.4.5/panel-fixed/
注意,ui面板固定样式类仅在面板关闭时添加

 <div data-role="panel" data-position-fixed="true" data-display="push" 
data-theme="b" id="nav-panel" class="ui-panel ui-panel-position-left
ui-panel-display-push ui-body-b ui-panel-animate ui-panel-open">

<div data-role="panel" data-position-fixed="true" data-display="push" 
data-theme="b" id="nav-panel" class="ui-panel ui-panel-position-left
ui-panel-display-push ui-body-b ui-panel-animate ui-panel-closed 
ui-panel-fixed">


怎么了

到目前为止,
data position=“fixed”
似乎还不能正常工作,因此一个简单的覆盖将解决这个问题

.ui-panel{

    position: fixed !important; 
}

虽然这篇文章很旧,但我还是把它放在这里,以防有人还在寻找答案。

似乎到目前为止,
data position=“fixed”
还不能正常工作,所以简单的重写就能解决问题

.ui-panel{

    position: fixed !important; 
}
虽然这篇文章很老了,但我还是把它留在这里,以防有人还在寻找答案