javascript - dropdown menu outside of shadowbox -


i creating shadowbox on website pop , allow users pick number of options including in submenus. content within shadowbox going pretty extensive, needs able scroll vertically , not scroll horizontally.

the problem have submenus supposed pop out right of list , overflow outside of shadowbox. worked until implemented overflow-y: scroll; in css. now, if use overflow-x: visible; still acts though x-axis should scroll.

has encountered problem before or have tips on how approach it?

try messing jsfiddle here

see http://www.w3.org/tr/css3-box/#collapse-scroll:

the computed values of ‘overflow-x’ , ‘overflow-y’ same specified values, except combinations ‘visible’ not possible: if 1 specified ‘visible’ , other ‘scroll’ or ‘auto’, ‘visible’ set ‘auto’.

i can't think of solve issue using css only, should possible javascript if dropdowns outside block overflow: auto


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -