mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
chore(deps): update dependency scroll-into-view-if-needed to v3 (#39230)
* chore(deps): update dependency scroll-into-view-if-needed to v3 * fix: ts error Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
parent
6b44b33eae
commit
a2305aa291
@ -50,7 +50,7 @@ export default function useForm<Values = any>(form?: FormInstance<Values>): [For
|
||||
scrollMode: 'if-needed',
|
||||
block: 'nearest',
|
||||
...options,
|
||||
});
|
||||
} as any);
|
||||
}
|
||||
},
|
||||
getFieldInstance: (name: NamePath) => {
|
||||
|
@ -1,3 +1,3 @@
|
||||
export { InternalNamePath, NamePath, Store, StoreValue } from 'rc-field-form/lib/interface';
|
||||
export { Options as ScrollOptions } from 'scroll-into-view-if-needed';
|
||||
export type { InternalNamePath, NamePath, Store, StoreValue } from 'rc-field-form/lib/interface';
|
||||
export type { Options as ScrollOptions } from 'scroll-into-view-if-needed';
|
||||
export type FormLabelAlign = 'left' | 'right';
|
||||
|
@ -153,7 +153,7 @@
|
||||
"rc-trigger": "^5.2.10",
|
||||
"rc-upload": "~4.3.0",
|
||||
"rc-util": "^5.25.2",
|
||||
"scroll-into-view-if-needed": "^2.2.25",
|
||||
"scroll-into-view-if-needed": "^3.0.3",
|
||||
"shallowequal": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user