feat(Calendar): scroll to current month after reset
This commit is contained in:
@@ -147,6 +147,7 @@ export default createComponent({
|
|||||||
// @exposed-api
|
// @exposed-api
|
||||||
reset() {
|
reset() {
|
||||||
this.currentDate = this.getInitialDate();
|
this.currentDate = this.getInitialDate();
|
||||||
|
this.scrollIntoView();
|
||||||
},
|
},
|
||||||
|
|
||||||
initRect() {
|
initRect() {
|
||||||
|
|||||||
Reference in New Issue
Block a user