When size of content in Q-menu changes height close to screen border, how to make Q-menu move?



  • I’ve got a qmenu with a qlist inside it. The qlist size (height) will change while the menu remains open (I don’t know the size of the list when the menu opens). This works fine except if the qmenu is opened near the bottom of the page. Then the qmenu will create scrollbars, instead of switching position from below the item to above the item. Is there a remedy for this?

    Here is a Codepen example: https://codepen.io/Gnopps/pen/jONrYjr?editors=1010

    This is what I get:

    b1bad019-6b97-4733-9fa3-ed4616ac5fa5-image.png

    Whereas this is the result I’m after:

    b57a738f-f519-4992-9ec8-34d12a0a238c-image.png


Log in to reply