Giter Club home page Giter Club logo

Comments (9)

halfmoonui avatar halfmoonui commented on August 31, 2024

Good point, I will also test this out.

from halfmoon.

halfmoonui avatar halfmoonui commented on August 31, 2024

Hey, I was going to patch this out in v1.1.1, but after testing it, I found that the sidebar animation is still a bit jarring, especially when the page has a lot of content and iFrames (such as in the docs website). Do you perhaps have any other suggestion for this? I think the cubic-bezier function may be causing the delay.

from halfmoon.

ThaUnknown avatar ThaUnknown commented on August 31, 2024

sorry for the late reply, however, I couldn't find any issues with this?
video

from halfmoon.

halfmoonui avatar halfmoonui commented on August 31, 2024

Do you have a powerful computer? Could be possible that the device I am using for testing is a bit slow. After some more testing, I have found the linear function to be the least jarring so far (coupled with your change in this issue).

from halfmoon.

ThaUnknown avatar ThaUnknown commented on August 31, 2024

Do you have a powerful computer? Could be possible that the device I am using for testing is a bit slow. After some more testing, I have found the linear function to be the least jarring so far (coupled with your change in this issue).

yeah, to say I have a powerful machine is an understatement, this is most likely a CSS performance issue since it changes the dom layout a lot during that animation

from halfmoon.

ThaUnknown avatar ThaUnknown commented on August 31, 2024

however on my mid-range phone it doesnt seem to be an issue at all either, what browser did you use?

from halfmoon.

halfmoonui avatar halfmoonui commented on August 31, 2024

It's good that you bring this up because on phones, the sidebar changes to the overlay type, which is really smooth. The main issue seems to happen when the sidebar is the default type, and especially full-height.

from halfmoon.

ThaUnknown avatar ThaUnknown commented on August 31, 2024

It's good that you bring this up because on phones, the sidebar changes to the overlay type, which is really smooth. The main issue seems to happen when the sidebar is the default type, and especially full-height.

again, I'm not able to reproduce any of the issues you're having so idk how to help

from halfmoon.

ThaUnknown avatar ThaUnknown commented on August 31, 2024

@halfmoonui , will using the will-change css property help? from what I tested it could help a lot, could you try it on your hardware? here's an article on it: https://developers.google.com/web/fundamentals/design-and-ux/animations/animations-and-performance

from halfmoon.

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.