VerificationCodeInputField: iPad Return key clears/hides OTP fields
维护者通常 5 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- ios, swift
- 领域
- authentication, mobile
调研方向
从 FirebaseSwiftUI/FirebaseAuthUIComponents/Sources/Components/VerificationCodeInputField.swift 开始,重点查看 BackspaceAwareTextField.Coordinator 及其文本字段代理方法。在配有硬件键盘的 iPad 上,反复按下 OTP 字段中的 Return 键以重现问题。完成标准是按下 Return 后字段关闭或保持不变,并且 OTP 字段仍然可见。
由索引模型根据 Issue 内容生成。
描述
Environment:
- Swift, iPadOS version: all, FirebaseUI version: do not know exactly (Podfile.lock), Xcode: found it while testing
Steps:
- Present view using VerificationCodeInputField (e.g. PhoneReauthView)
- Focus OTP field on iPad with hardware keyboard
- Press Return repeatedly
Observed: fields disappear one-by-one, unrecoverable without back+Verify
Expected: Return resigns/dismisses or no-ops, fields stay visible
Relevant: FirebaseSwiftUI/FirebaseAuthUIComponents/Sources/Components/VerificationCodeInputField.swift - BackspaceAwareTextField.Coordinator has no textFieldShouldReturn, shouldChangeCharactersIn only blocks non-digits but Return path can hit handleBackspace/clear.
- 主要语言
- Swift
- 星标
- 1.6k
- 派生
- 495
- 平均合并
- 3 天 23 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firebase/FirebaseUI-iOS 的其他 Issue
-
Customizable SwiftUI auth UI: content slots, per-screen state, and theming可能已有人在做 @demolaf 于 17 天前认领。 未关闭auth keep open type: feature request
难度 4/5 3-5 天 新手友好度 45/100
firebase/FirebaseUI-iOS#1400 · 已指派 1 人 ·
维护者通常 5 天内回复
查看 firebase/FirebaseUI-iOS 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
omacom/try-omarchy#343 ·
维护者通常 1 天内回复
-
install.ps1: Windows PowerShell 5.1 aborts after a successful cosign verification (NativeCommandError on 'Verified OK')可能已有人在做 @sly321-pixel 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
OneBusAway/onebusaway-ios#1518 ·
维护者通常 2 天内回复
-
area: agents
难度 2/5 1-3 小时 新手友好度 72/100
manaflow-ai/cmux#19972 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 9 天内回复