-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScrollView refresher-enabled属性无效 #15915
Comments
refresher-enabled默认值是false 可以直接不写这个属性 |
我现在就是这么做的 写了两个scroll-view 一个绑定值一个不绑定 |
哥们,我是show-scrollbar和refresher-triggered属性绑定值无效 |
刚看了下,refresher-enabled也有问题,我显式指定为false,在vConsole中调试发现其值为true |
在issues逛了一圈,应该是在vue版本>3.4.28下,taro的原生组件的boolean类型的属性绑定都出问题了 #15946,这里有nutui关于这个问题导致的属性绑定问题的临时修复方法 #jdf2e/nutui#3104 ,不过这个方法对于默认值为true的属性值想要显式指定为false的情况好像不行,比如scroll-view的show-scrollbar属性,还是得taro来彻底解决这个issue。 |
我也发现了page-container 也出现了bug 各种 布尔值的绑定都有问题 |
vue那边发版解决了 ##15946 (comment) |
相关平台
微信小程序
复现仓库
https://github.com/jc840031139/taro-bug.git
小程序基础库: 3.4.7
使用框架: Vue 3
复现步骤
直接运行即可 scroll refresher-enabled 绑定任意一个值 哪怕直接在后面写false都可以触发下拉刷新
期望结果
正确的结果
实际结果
错误的
环境信息
The text was updated successfully, but these errors were encountered: