Skip to content
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

[ Tabs ]定位滚动、渲染时出现脏数据 #793

Closed
xgbnl opened this issue Aug 24, 2022 · 5 comments · Fixed by #830
Closed

[ Tabs ]定位滚动、渲染时出现脏数据 #793

xgbnl opened this issue Aug 24, 2022 · 5 comments · Fixed by #830
Labels
bug Something isn't working question This is a question, not a bug

Comments

@xgbnl
Copy link

xgbnl commented Aug 24, 2022

tdesign-miniprogram 版本

0.19.2

重现链接

重现步骤

  • 定位滚动

当Tabs被scroll-view组件所包裹时,子元素超出scroll-view组件时,点击内部子按钮时,按钮无法像正常情况那样滑动到当前按钮,而且它也不会自动滑动调整当前位置

  • 脏数据现象

两个Tabs组件配合使用时,子Tabs会出现脏数据(即渲染数据会把上一个数组末尾的元素追加到当前tabs的末尾),用普通的view就无此现象。

期望结果

希望出个解决方法

实际结果

目前没有解决,官方也没人鸟我

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

小程序零售模板使用this.createSelectQuery获取的dom对象为null,不管是在组件或是Page里使用此方法获取的均为null

@github-actions
Copy link
Contributor

👋 @xgbnl,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@xgbnl xgbnl changed the title [Tabs 选项卡,TabBar 标签栏] 三个问题 [ Tabs ]定位滚动、渲染时出现脏数据 Aug 25, 2022
@LeeJim
Copy link
Collaborator

LeeJim commented Aug 25, 2022

收到,我来看下

@xgbnl
Copy link
Author

xgbnl commented Aug 25, 2022

收到,我来看下

收到,我来看下

大佬,我记得你是在微信群里的。我在里面发有提问。不过你们的小伙伴好像都忙不过来。我只好上github上提issue了。不知道我描述的问题清不清楚。

@LeeJim
Copy link
Collaborator

LeeJim commented Aug 30, 2022

稍等哈,今天解决,顺便发布个 beta 版本

@LeeJim
Copy link
Collaborator

LeeJim commented Aug 31, 2022

看完你的描述,还是不知道具体问题,能否提供代码片段?

@LeeJim LeeJim added bug Something isn't working question This is a question, not a bug labels Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question This is a question, not a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants