Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

How to disable menu overflow scroll function

Home Forums Older releases 0.9.x How to disable menu overflow scroll function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1403
    dinesh
    Participant

    i want to disable overflow menus scroll function (like two arrows append top and bottom of menu exceeds) and i tried this solution

    keepInViewport: false

    but, it’s also disable auto align right and left submenus based on screen size functionality. can you help me?

    #1814
    admin
    Keymaster

    Hi, there is no option for this, so if you would like to achieve it, you will need to modify the script “jquery.smartmenus.js”. You will need to find the following line:

    if (horizontalParent && (absY + subH > winY + winH + 0.49 || absY < winY) || !horizontalParent && subH > winH + 0.49) {

    and replace it with something like this:

    if (false) {

    Cheers!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.