mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
e
This commit is contained in:
parent
04c804eb2c
commit
604948e6a9
@ -158,7 +158,7 @@ const Overview: React.FC = () => {
|
||||
onChange={(e) => {
|
||||
setSearch(e.target.value);
|
||||
reportSearch(e.target.value);
|
||||
if (sectionRef.current) {
|
||||
if (sectionRef.current && searchBarAffixed) {
|
||||
scrollIntoView(sectionRef.current, {
|
||||
scrollMode: 'if-needed',
|
||||
block: 'start',
|
||||
|
Loading…
Reference in New Issue
Block a user