bug: IonInput default autocapitalize value disrespects system keyboard settings and relevant browser defaults
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- frontend
调研方向
从 core/src/components/input/input.tsx 第 71 行开始,将当前的 autocapitalize 默认值与所链接的 MDN 文档中描述的浏览器行为进行比较。确认 ion-input 及相关组件不再强制关闭自动大写,并与所述的浏览器默认值保持一致。
由索引模型根据 Issue 内容生成。
描述
Setting autocapitalize to 'off' by default results in ion-input and related components not respecting the system keyboard settings for autocapitalization and forces developers to explicitly set an overriding value on all ion-inputs, which itself might not respect system settings. Furthermore, this approach does not align with the default behavior of either of the primary OS browsers on which virtually all ionic apps are run.
If this property must necessarily have a default value, the reasonable solution would be to align with the default behavior of the primary OS browser defaults. https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize
• Chrome and Safari default to on/sentences
- 主要语言
- TypeScript
- 星标
- 52.7k
- 派生
- 13.3k
- 平均合并
- 2 天 20 小时
- 30 天内合并 PR
- 35
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ionic-team/ionic-framework 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
ionic-team/ionic-framework#31410 · 1 条评论 ·
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
ionic-team/ionic-framework#31314 ·
-
triage
难度 2/5 1-3 小时 新手友好度 86/100
ionic-team/ionic-framework#31291 ·
-
triage
难度 2/5 1-3 小时 新手友好度 70/100
ionic-team/ionic-framework#30738 ·
-
package: core type: feature request
难度 2/5 1-3 小时 新手友好度 75/100
ionic-team/ionic-framework#29607 · 4 条评论 · 1 个 reaction ·
查看 ionic-team/ionic-framework 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
fullcalendar/fullcalendar#8106 ·