Giter Site home page Giter Site logo

Comments (6)

KevinCocquyt39 avatar KevinCocquyt39 commented on August 11, 2024

Having the same issue when the Twitter Bootstrap Modal is used. The overlay appears on top of everything (including the modal itself).

from jpanelmenu.

3nki avatar 3nki commented on August 11, 2024

i had something similar and fixed it by setting animated: false. it was creating an overlay layer that would stick around even when the menu/panel was closed.

from jpanelmenu.

regenrek avatar regenrek commented on August 11, 2024

Having the same issue when the Twitter Bootstrap Modal is used. The overlay appears on top of everything (including the modal itself).

The Modal needs to be outside the Panel.
Try the following (worked for me)

    var jPM = $.jPanelMenu({
        excludedPanelContent: 'style, script, .modal'
    });

https://github.com/acolangelo/jPanelMenu#options-excludedPanelContent

from jpanelmenu.

paul-wolf avatar paul-wolf commented on August 11, 2024

It looks like excludedPanelContent only works on children - not all descendants - of body.
Therefore, @regenrek's solution only works provided the modal markup is directly beneath the body element. So, $("body > .modal") has to be able to select the markup.

from jpanelmenu.

acolangelo avatar acolangelo commented on August 11, 2024

Fixed with #16 and #59.

from jpanelmenu.

rodrigoAbril avatar rodrigoAbril commented on August 11, 2024

Hi guys, If anyone still has this problem

Explanation:
The actual bug is related to how fixed position works different on elements affected by translate3d, this causes all fixed elements like the modal to misbehave . (see http://stackoverflow.com/questions/15194313/webkit-css-transform3d-position-fixed-issue)

-as support for fixed elements was removed you can try manually removing the style property from element.jPanelMenu-panel while the modal is opened.

Fix:

.modal-open .jPanelMenu-panel {
    position:static!important;
    -webkit-transform:none!important;
    transform:none!important;
}

(Edited after reading that the plugin dropped fixed position support)

from jpanelmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.