Tencent / Tencent/tdesign-miniprogram
[Swiper] 更新版本后宽度100%,高度自适应失效
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
tdesign-miniprogram 版本
0.32.0
重现链接
https://tdesign.tencent.com/miniprogram/components/swiper?tab=demo
重现步骤
No response
期望结果
No response
实际结果
No response
框架版本
No response
浏览器版本
No response
系统版本
No response
Node版本
No response
补充说明
0.31.0的时候宽度100%,高度自适应。升级之后查看文档现在高度默认192px
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Swiper documentation demo linked in the issue and compare its behavior between tdesign-miniprogram 0.31.0 and 0.32.0. Inspect the current Swiper component implementation to locate the default 192px height and how width and height are calculated. Done means reproducing the regression and restoring 100% width with automatic height without breaking the documented demo.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100