ionic-team / ionic-team/ionic-framework
bug: tabindex adverse effect after adding clear-input="true"
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 50
描述
Bug Report
Ionic version:
As per latest on CDN
Current behavior:
When you fill an input item that has clear input set to true and then press tab the focus does not move to the next element. (even when tab index is set on the inputs)
Expected behavior:
Perhaps this is intended behaviour but I would expect the next input to be focused after you have finished writing in an input.
Tabbing to an element that already has text in it is working perfectly (please don't change this). It is just leaving the input that seem to require an additional un-needed tab.
Steps to reproduce:
Any ion-items in a row with clear input.
Related code:
https://codepen.io/Lxstr/pen/KKmNVZm
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 CodePen 复现开始,检查 Ionic input 和 clear input 在 Tab 导航中的行为。使用包含 clear input 的 ion-item 行确认该行为,然后验证编辑后按 Tab 会移动到下一个元素,同时不会改变已有文本的 input 的现有行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 54/100