Giter VIP home page Giter VIP logo

Comments (7)

onokumus avatar onokumus commented on May 25, 2024

@rderharo
Which metisMenu version did you test?

from metismenu.

rderharo avatar rderharo commented on May 25, 2024

I'm currently using v1.1.1.

from metismenu.

onokumus avatar onokumus commented on May 25, 2024

@rderharo
Can you test this version. https://github.com/onokumus/metisMenu/tree/2.0.0

from metismenu.

rderharo avatar rderharo commented on May 25, 2024

Can confirm the same thing happens in 2.0.0.

from metismenu.

rderharo avatar rderharo commented on May 25, 2024

I tried looking more into this and still cannot find a solution. If I go to your demo page with Safari, it works fine. But on my app, it doubles the expanding animation.

One additional thing I noticed is that the collapsing animation is skipped. It just hides with no animation at all.

It's an AngularJS app, which is the only thing I can think of that would be unique versus the demo. I updated the bootstrap and metisMenu libraries to the latest versions with no effect.

from metismenu.

davebream avatar davebream commented on May 25, 2024

I fixed the problem.
For me the cause was my custom css on the submenu unordered list tag:
ul.submenu { transition: all 0.2s ease-in; }
It added a redundant transition, which doubled the plugin's one.

from metismenu.

rderharo avatar rderharo commented on May 25, 2024

Hmm. I do not have any transitions on anything else on my app, but I will dig deeper into the other libraries that I use to see if there is a conflict.

Having said that, why would it only impact Safari and no other browser?

Edit: This also raises the point (again) that a library like this one that is intended to be used among other libraries should have all its classes prefixed to avoid issues like this.

from metismenu.

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.