Git Product home page Git Product logo

Comments (4)

miguelcobain avatar miguelcobain commented on May 14, 2024

Sidenav has two distinct behaviors:

  • lock open - when the viewport is big enough (currently done through css media queries) the sidenav locks open, filling a space on its own and doesn't overlay the content. Also, the sidenav toggle disappears. This seems to be the case on the first gif.
  • open/close - when the viewport is small enough (currently done through css media queries) the sidenav enters the normal open/close state, overlaying the content and showing a backdrop.

Looks like you're comparing Ember paper's lock open vs Google's open/close state. The first gif is changing between 'locked open' mode and 'open/close mode', probably because you're changing the viewport size. The second gif is always in the same mode, but changing between open or closed state.
If you compare both "modes", they should be similar.

One difference I noticed is the backdrop out animation which ember-paper doesn't have yet.

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

Opened #53 for the backdrop issue.
Please let me know if you find any issues.

from ember-paper.

alexlafroscia avatar alexlafroscia commented on May 14, 2024

Oh, I see. I didn't realize that the behavior was different there. Thanks for clearing that up for me!

from ember-paper.

miguelcobain avatar miguelcobain commented on May 14, 2024

No problem. Adding this info to the docs may be useful for someone else.

from ember-paper.

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.