css - Controlling jQuery-ui Autocomplete's dynamic positioning -


so i'm trying understand why jquery-ui's autocomplete, appendto used attach results dropdown div, still dynamically positions results absolute positioning. this:

top: 38px; left: 8.5px; width: 251px; 

creating issues like:

enter image description here

can turn off dynamic positioning? full control on ui fluid responsivity , custom styling. cannot find answer online.

update: seems each widget has different rules, correct? figured out responsive width jquery-ui dialog popup by

$("#dialog").dialog({ width: auto }); 

& in stylesheet, applying max-width wrapping dialog class.

.ui-dialog{   max-width: 720px; } 

however top , left still mystery of yet.

you can change css used either editing jquery ui css file, or else overriding in own css, such as:

ul.ui-autocomplete { width: 250px !important; max-height: 300px; overflow-y: scroll; overflow-x: none; } 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -