Comments (9)
Good point, I will also test this out.
from halfmoon.
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.
sorry for the late reply, however, I couldn't find any issues with this?
video
from halfmoon.
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.
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.
however on my mid-range phone it doesnt seem to be an issue at all either, what browser did you use?
from halfmoon.
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.
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 especiallyfull-height
.
again, I'm not able to reproduce any of the issues you're having so idk how to help
from halfmoon.
@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)
- Modal close event HOT 3
- Select does not work properly in mobile
- set color mode instead of toggle js HOT 2
- [Feature request] Put label before switch
- Sidebar, darkmode and modals are not automatically toggled as expected. HOT 5
- halfmoon doesn't support rtl? HOT 2
- require problem while using with sveltekit. HOT 1
- this.stickyAlerts is undefined HOT 1
- Will the project continue? HOT 2
- Text centering inside buttons
- Default sidebar with small screen results in offscreen content HOT 2
- Halfmoon documentation isn't available anymore HOT 37
- is this project dead? HOT 27
- Version update messed up page layout completely HOT 3
- Provide CSS only alternatives using Dialog and Popover API.
- CSS only form validation HOT 1
- Website is down HOT 1
- Typo in dropdowns page code snippet
- input type = date, just use this that way?
- Docs website for v1.x.x is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halfmoon.