Expand select2 over frame border

Hello,

I have a legacy cms with a top frame with search options where I want to add select2 - it works, but the results don’t expand over the frame border making it hard to use (only two results visible) - a traditional html select does expand over the frame-edge.

I don’t think it is possible to have select2 expand/be above the edge of the frame but I thought I’d ask none the less just in case someone has some suggestions.

getting rid of the frames/legacy cms isn’t an option at the moment

I’m pretty sure you’re correct. A native <select> is a browser construct, and so it can ignore the visual boundaries between frames; but a Select2 widget is built from HTML components (<div>s, <ul>s, etc.), and so is restricted to the document/frame in which it is defined.

1 Like