Comments (7)
step里面的动画是你自己用css3写的过渡,和组件没有关系,就是说你从 classA -> classB 中间自己设置 transition
from fullpage.
我用了demo里面的fullpage.html也是这样,page3中设置了step4,但每次滑动会先显示page4然后再回到page3显示page3中对应的step动画
环境是 ip XR 微信7.0.4
from fullpage.
PC上我用手机模拟也没有这个问题,是微信特有的问题吗?
from fullpage.
PC我这边用手机模拟也是没有问题的
移动端chrome测试也是有上述问题的
from fullpage.
document.body.ontouchmove = function(e) {
e.preventDefault();
}
我在html底部额外加了这句就好了,
但是其实源码里面就有这句,
不知道是不是某个版本的浏览器阻止了额外js去禁止滑动。
from fullpage.
你可以试一下这个链接 fix #56 - step属性不能正常过渡
from fullpage.
测试加了e.preventDefault();可以了,感谢
from fullpage.
Related Issues (20)
- 当在最后一页,滚轮往下滚,还是会触发beforeChange这个方法 HOT 1
- 关于滚动条 HOT 2
- 放在page内部的按钮通过事件监听触发FullPage.go()方法,并不能有效执行 HOT 3
- 如何添加头尾的自适应高度部分,让其上下滚动展示而不是盛放在当前页面中? HOT 5
- 在Mac的触控板上会出现Bug HOT 3
- 放置图片超过6P就出现问题了,没有效果显示 HOT 4
- 横向滚屏,纵向滚动内容怎么办 HOT 1
- step动画结束后,class里面的step要清除 HOT 1
- 不考虑通过NPM维护吗
- next(), prev()方法不起作用,怎么回事 HOT 3
- 在safair中,滑动会重新计算高度,导致滑动时的fixed定位改变,滑动结束后恢复原来定位 HOT 5
- 如果page1的background是图片,由page2切换至page1的时候,page1的背景图片需要在切换完成才显示 HOT 2
- mode设置为touch后,调用next()没有过渡效果,直接显示下一页。 HOT 1
- 有多个子级滑动模块的时候navbar只能设置一个类active
- 在360极速模式下滚动时,存在直接跳到当前页、滚动一次转屏多次的情况 HOT 1
- 为什么我鼠标需要滑两下才能滚动
- 如何实现半屏滚动呀 HOT 1
- 最后一屏单屏高度超过屏幕高度,如何实现单屏内滚动条
- 移动端触摸不切屏 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 fullpage.