Comments (4)
目前测试后支付宝小程序确实存在该问题,设置 scroll-top 无法生效,待进一步排查。
from miniapp.
支付宝小程序在 scrollTop 值前后未发生变化的情况下会出现这种问题。目前可行的处理方式是在 y 值上加一个微小变量,例如
svRef.current.scrollTo({ y: 0 + Math.random() * 0.01 });
from miniapp.
支付宝小程序在 scrollTop 值前后未发生变化的情况下会出现这种问题。目前可行的处理方式是在 y 值上加一个微小变量,例如
svRef.current.scrollTo({ y: 0 + Math.random() * 0.01 });
好的,多谢
from miniapp.
支付宝小程序在 scrollTop 值前后未发生变化的情况下会出现这种问题。目前可行的处理方式是在 y 值上加一个微小变量,例如
svRef.current.scrollTo({ y: 0 + Math.random() * 0.01 });
非常感谢,解决了我的问题。
from miniapp.
Related Issues (20)
- 🌟 案例收集 HOT 8
- [Feature]小程序状态管理 HOT 3
- createAnimation中的参数不起作用 HOT 4
- 【BUG】实验性属性exportsField在小程序编译时路径引用错误 HOT 3
- 百度、快手小程序 flex 布局失效
- 在微信小程序 IDE 中直接开发 Rax 小程序
- 无效 Issue
- Npm install failed after running npm init rax HOT 1
- [需求] 支持阿里小程序中页面的 events HOT 1
- 期待一个简版 使用vite或rollup 打包 rax-core 的 纯运行时的 hello world demo HOT 2
- [BUG] command `npm install` failed
- [Enhance]优化Babel重复注入helper函数问题 HOT 1
- button中是否不支持阿里小程序的onFollowLifestyle
- 看来是项目停了
- 怎么没有拼多多小程序呢,谁开发过 HOT 2
- build之后微信项目文件夹如图,但是微信开发者工具提示iconPath不支持网络图片怎么解决? HOT 1
- TypeError: Cannot read properties of undefined (reading 'parentPath')
- [Bug] 支付宝小程序通过 getSearchParams 取到的值有问题 HOT 2
- [Enhance] 小程序编译时项目需要添加 Function 的 polyfill
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 miniapp.