Comments (11)
Hi,
Do you have any device-info? What versions of android and what brand?
from snabbt.js.
I've tested 3 devices. My htc e8 (4.4.2) works well, Samsung S4 (4.3) and Samsung Note 2 (4.1) doesn't work.
from snabbt.js.
Oh, that's not good.
What version of snabbt are you using?
from snabbt.js.
It should be the latest version.. I started using snabbt last week. Do you have an idea what cause this problem, maybe browser compatibility? I'm using cordova.
from snabbt.js.
I haven't seen this issues before so there might be something in the later releases. Do you think you could try with a previous release? 0.4.0 perhaps?
I'm pretty swamped at the moment so I won't have time to look at it until after the weekend.
from snabbt.js.
@daniel-lundin I tried 0.4.0 and there's another problem.
snabbt(elem, {
fromScale: [0.8, 0.8],
scale: [1, 1],
easing: "spring"
});
"fromScale" worked, but the animation didn't run.
from snabbt.js.
Ran into the same issue in the stock Android browser running on Samsung S3 w/ 4.4.2 and HTC One X+ w/ 4.1.1. Didn't do much investigation, but using a polyfill for requestAnimationFrame corrected the issue.
from snabbt.js.
@lovenick Can you please show me how? I'm new to javascript... Thanks a lot.
from snabbt.js.
Place the gist below in your JS before any call to Snabbt.
https://gist.github.com/paulirish/1579671
The code will shim the window.requestAnimationFrame method if not available natively.
from snabbt.js.
@lovenick It works, thank you.
from snabbt.js.
I added a polyfill for requestAnimationFrame in 0.5.2
Please reopen if it doesn't solve the problem
from snabbt.js.
Related Issues (20)
- Allow adding extra transforms to output HOT 3
- Nice work. HOT 1
- Add sane examples HOT 4
- Moving to ES6
- allDone and complete is not fired with duration: 0 HOT 5
- simple error report HOT 2
- Snabbt and Hammer.js HOT 1
- npm does not install all required dependecies HOT 3
- Stop callback HOT 2
- cubic-bezier easing HOT 1
- Manual mode code snippet
- Opacity with delay
- Don't work on iphone4 safari and some Android browsers. HOT 2
- Issue with animations seemlingly affecting one another
- Duration is broken for manual mode?
- Error: Cannot find module './utils.js from snabbt.js'
- safari 8
- Change naming scheme? HOT 1
- Remove animation from element
- Attention animations not fire complete and allDone event
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 snabbt.js.