fix(Calendar): incorrect month title after auto scroll (#5569)
This commit is contained in:
@@ -158,7 +158,7 @@ export default createComponent({
|
||||
|
||||
this.months.some((month, index) => {
|
||||
if (compareMonth(month, targetDate) === 0) {
|
||||
this.$refs.months[index].$el.scrollIntoView();
|
||||
this.$refs.months[index].scrollIntoView();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user