Giter Club home page Giter Club logo

Comments (10)

yanhaijing avatar yanhaijing commented on June 19, 2024

hi 你好,首先欢迎反馈
这是因为安卓2.3不支持translate
后序准备做个兼容处理,支持translate的优先用translate

from zepto.fullpage.

yanhaijing avatar yanhaijing commented on June 19, 2024

http://caniuse.com/#search=transform

from zepto.fullpage.

luciy avatar luciy commented on June 19, 2024

如果需要兼容安卓2.3得话确实需要做一个兼容处理,因为利用top并没有translateY性能好,至少在兼容的手机上是这样。
还有就是动画利用transition,而moveTo函数中确定动画结束是利用setTimeout,是否考虑利用webkitTransitionEnd来解决动画结束后回调哦。

from zepto.fullpage.

yanhaijing avatar yanhaijing commented on June 19, 2024

第一个问题是要解决的,后序会做一个兼容处理,感谢反馈
第二个问题 我还没想好,timeout的好处是可以自定义这个时间,因为可能作者希望本屏动画全部播放完才能切换,而不是切换的动画完成,这个还要在考虑下,感谢反馈

from zepto.fullpage.

mask2012 avatar mask2012 commented on June 19, 2024

没什么,就是来赞一下

from zepto.fullpage.

yanhaijing avatar yanhaijing commented on June 19, 2024

感谢支持

from zepto.fullpage.

jerrylau91 avatar jerrylau91 commented on June 19, 2024

关注一下!

from zepto.fullpage.

yanhaijing avatar yanhaijing commented on June 19, 2024

感谢大家的支持

from zepto.fullpage.

dolymood avatar dolymood commented on June 19, 2024

其实不是android2.3不支持transform,是不支持3d transform,还有bug,其实从2.1就开始支持了
,但需要前缀。在fullpage的场景里,使用起来问题不大。参见 https://developer.mozilla.org/en-US/docs/Web/CSS/transform

from zepto.fullpage.

yanhaijing avatar yanhaijing commented on June 19, 2024

嗯 好的多谢反馈 原来我使用caniuse的方法有误,导致以为从4.0才开始兼容,这个问题过一段时间修好,会在0.2.0版本中带来

from zepto.fullpage.

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.