Skip to content

fix: popContainer 空值防御及 Input.Number 失焦修复#2212

Merged
saint3347 merged 6 commits intomasterfrom
fix-pop-container-null-check
Mar 17, 2026
Merged

fix: popContainer 空值防御及 Input.Number 失焦修复#2212
saint3347 merged 6 commits intomasterfrom
fix-pop-container-null-check

Conversation

@saint3347
Copy link
Contributor

Summary

  • 修复 popContainergetDefaultContainer 返回空值时的防御性检查,避免 appendChild 报错
  • 修复 Input.NumberallowNull 模式下清空失焦不回填 0 的问题
  • 更新版本号至 2.0.31-beta.7

Test plan

  • 验证弹窗类组件(Modal、Popover、Tooltip)在 popContainer 返回空值场景下不报错
  • 验证 Input.Number 非 allowNull 模式下清空后失焦能正确回填 0
  • 验证 Input.Number allowNull 模式下清空后失焦保持 null

🤖 Generated with Claude Code

saint3347 and others added 6 commits March 17, 2026 15:54
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@saint3347 saint3347 merged commit b8f0272 into master Mar 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant