Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Input background should not be transparent when hovered or focused #45297

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

MadCcc
Copy link
Member

@MadCcc MadCcc commented Oct 12, 2023

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Workflow
  • Other (about what?)

🔗 Related issue link

close #45289

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Input that background should not be transparent when hovered or focused
🇨🇳 Chinese 修复 Input 组件 hover 或者 focus 状态时背景色变为透明的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

🤖 Generated by Copilot at 286d37f

This pull request fixes a bug that makes the input component invisible in some browsers by changing its background color. It also adds a test case for the input component and updates the post-script file to link to the related issue.

🔍 Walkthrough

🤖 Generated by Copilot at 286d37f

@stackblitz
Copy link

stackblitz bot commented Oct 12, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 12, 2023

Preview Is ready

@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
./dist/antd.min.js 397.79 KB (-1 B 🔽)
./dist/antd-with-locales.min.js 457.11 KB (-3 B 🔽)

@argos-ci
Copy link

argos-ci bot commented Oct 12, 2023

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No change detected - Oct 12, 2023, 3:37 AM

@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (70ce748) 100.00% compared to head (286d37f) 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##            master    #45297    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          693       692     -1     
  Lines        11842     11667   -175     
  Branches      3171      3117    -54     
==========================================
- Hits         11842     11667   -175     
Files Coverage Δ
components/input/style/index.ts 100.00% <ø> (ø)

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MadCcc MadCcc merged commit 53034b0 into master Oct 12, 2023
99 checks passed
@MadCcc MadCcc deleted the fix/input-bg branch October 12, 2023 03:49
@MadCcc MadCcc mentioned this pull request Oct 13, 2023
20 tasks
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.

Input组件获得焦点后的白色背景色没有了,变成了容器的背景色
2 participants