mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
feat(Calendar): scroll to current month when show (#5526)
This commit is contained in:
@@ -30,6 +30,11 @@ function mockHTMLElementOffset() {
|
||||
});
|
||||
}
|
||||
|
||||
function mockScrollIntoView() {
|
||||
Element.prototype.scrollIntoView = function() {};
|
||||
}
|
||||
|
||||
mockScrollIntoView();
|
||||
mockHTMLElementOffset();
|
||||
|
||||
export function mockGetBoundingClientRect(
|
||||
|
Reference in New Issue
Block a user