We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.2.3
No response
<t-pull-down-refresh value="{{enable}}" scroll-into-view="row-scroll-into-view" loadingProps="{{loadingProps}}" loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}" bind:refresh="onRefresh" bind:scroll="onScroll" > <!-- 包裹页面全部内容 --> <view class="demo"> <view class="demo-title">PullDownRefresh 下拉刷新</view> <view class="demo-desc">用于快速刷新页面信息,刷新可以是整页刷新也可以是页面的局部刷新。</view> <view class="pulldown-reflesh__content"> <t-skeleton rowCol="{{rowCol1}}" loading></t-skeleton> <view class="row"> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> </view> <view class="row"> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> </view> <view id="row-scroll-into-view" class="row"> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> <t-skeleton rowCol="{{rowCol2}}" loading></t-skeleton> </view> <view class="text">拖拽该区域演示 顶部下拉刷新</view> </view> <t-back-top wx:if="{{backTopVisible}}" text="顶部" /> </view> </t-pull-down-refresh>
期望scroll-into-view属性生效
实际效果无任何反应
2.20.2
因为跨shadowTree。scroll-into-view 是选择在 scroll-view 同一个 shadowTree 下的节点。是在 scroll-view 所在组件可以执行 querySelector({#ID}) 可以找到的节点。如果是 scroll-view 所在组件内的某个自定义组件里的节点:https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/ScrollViewContext.scrollIntoView.html,支持选择器方式,也就可以用 >>> 来选择子组件子节点。
The text was updated successfully, but these errors were encountered:
👋 @ElanYoung,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
No branches or pull requests
tdesign-miniprogram 版本
1.2.3
重现链接
No response
重现步骤
期望结果
期望scroll-into-view属性生效
实际结果
实际效果无任何反应
基础库版本
2.20.2
补充说明
因为跨shadowTree。scroll-into-view 是选择在 scroll-view 同一个 shadowTree 下的节点。是在 scroll-view 所在组件可以执行 querySelector({#ID}) 可以找到的节点。如果是 scroll-view 所在组件内的某个自定义组件里的节点:https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/ScrollViewContext.scrollIntoView.html,支持选择器方式,也就可以用 >>> 来选择子组件子节点。
The text was updated successfully, but these errors were encountered: