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
chore: 💄 Improve site experience and fix #26528 #26538
Conversation
modal的问题 没有 解决 依然那样 |
确实还有问题。 |
和宽度没关系,全屏也会出问题。 |
/rebase |
521e84a
to
dc50e96
Compare
这个是 focus tatget 的问题,和 site 没关系 |
如果想要不 focus 可以加上 |
focus 的按钮在视窗可见范围为啥会引起滚动条跳动? |
好像和触发时机有关系,试试把 focusTriggerAfterClose 的行为放到滚动条重置之后再进行。 |
/rebase |
嗯,其实最好的属性应该是 |
dc50e96
to
f458816
Compare
用 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d661a73:
|
Codecov Report
@@ Coverage Diff @@
## master #26538 +/- ##
=======================================
Coverage 99.75% 99.75%
=======================================
Files 383 383
Lines 7343 7343
Branches 2045 2051 +6
=======================================
Hits 7325 7325
Misses 18 18 Continue to review full report at Codecov.
|
和 scrollIntoViewIfNeeded 没关系,这是调用 focus,不需要 scrollIntoView。 |
@@ -121,7 +121,7 @@ | |||
"rc-cascader": "~1.3.0", | |||
"rc-checkbox": "~2.3.0", | |||
"rc-collapse": "~2.0.0", | |||
"rc-dialog": "~8.2.0", | |||
"rc-dialog": "~8.2.1", |
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.
可行,https://preview-26538-ant-design.surge.sh 实测没问题了。 |
Size Change: +6 B (0%) Total Size: 799 kB
ℹ️ View Unchanged
|
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #26528
close #26510
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge