-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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(module:inputpassword): focus fix #1146
fix(module:inputpassword): focus fix #1146
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1146 +/- ##
=========================================
- Coverage 6.55% 6.55% -0.01%
=========================================
Files 436 436
Lines 24414 24427 +13
=========================================
Hits 1600 1600
- Misses 22814 22827 +13
Continue to review full report at Codecov.
|
@ElderJames Hold with merge. Same problem is with |
The commit 333673c solved the problem of focus for password, search and input with AllowClear or Prefix or Suffix (all of them were not focusing). It is a unified solution, meant for all components that use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
* fix(module:inputpassword): focus fix * fix(module:search): focus fix * fix(module:input): (and descendants) focuse fix
* fix(module:inputpassword): focus fix * fix(module:search): focus fix * fix(module:input): (and descendants) focuse fix
🤔 This is a ...
🔗 Related issue link
#952
💡 Background and solution
For password
<input>
tag is wrapped in a spanThat span (base on react ant design) should get an extra class on focus
ant-input-affix-wrapper-focus
. My fix is including this class when input password receives focus.☑️ Self Check before Merge