Comments (2)
Actually, this seems quite odd, but the logic works differently in different examples.
For example when scaling the context of the canvas (ctx.scale
) my logic works, but when redrawing the components like you do in the canvas example your logic works.
Maybe there should be a way to override the default logic in case of a different implementation of the rendering?
from scroller.
It mainly depends on whether your properties apply zooming on top of dimensions or the other way around. This is the reason why we recompute the dimensions and positions based on zooming in some examples and do not so in others.
from scroller.
Related Issues (20)
- Using paging, getting the current targeted page on scroll end
- Random Problems HOT 1
- Option to Center Content to Client when the Content is smaller then the Client HOT 2
- clientHeight is 0 in backbone webapp
- how to pull down to refresh the dom
- Project no longer maintained? HOT 1
- update gh-pages
- Zynga Scroller for Phaser
- hyper link not working on scroll content HOT 1
- Publish on npm?
- scrollTo behaves differently on second call to `scrollTo` with the same zoom
- how to pinch to zoom force on the center
- Usage with react?
- Integrate scroller with Vue
- about canvas rotation and use scroller Dimensions wrong
- Add bouncing bouncing: false, will be hidden at the bottom part of the dom, when set to true will not appear this kind of problem
- How to force stop scrolling manually?
- how can i use in wechat?
- why cannot Up-pull refresh?
- Demo site http://zynga.github.com/scroller/ gives 404 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 scroller.