Tencent / Tencent/tdesign-flutter
[TDIndexes] 自定义索引渲染后点击事件失效
Open
Nobody has claimed this yet.
duplicate
- Dominant language
- Dart
- Stars
- 1.2k
- Forks
- 182
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 88
Description
tdesign-flutter 版本
0.2.2
重现链接
No response
重现步骤/代码
TDIndexes组件使用了builderIndex自定义索引后,原点击事件就会不触发,builderIndex也不会重新触发调用。
期望结果
点击事件触发与builderIndex重新重复调用
实际结果
No response
Flutter版本
3.32.4
设备与机型信息
iphone 16
系统版本
iOS 18.1
补充说明
No response
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 at the TDIndexes component and inspect the builderIndex path together with its tap-event handling. Reproduce the issue using the reported tdesign-flutter 0.2.2 and Flutter 3.32.4 setup on iOS. Done means custom index rendering still triggers clicks and builderIndex is invoked again after interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100