Commit 5767968c authored by bingchuan's avatar bingchuan

[dev]支持悬浮

parent 93cba95b
......@@ -1485,6 +1485,14 @@
// Display the dropdown once it has been positioned.
dropdown[0].style.opacity = 1;
if($select.options&&$select.options.static){
dropdown[0].style.width=dropdown.outerWidth()+"px";
setTimeout(function () {
dropdown[0].style.position='fixed';
},100);
}
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment