mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Calendar): incorrect position when poppable is false (#5760)
This commit is contained in:
parent
c086073da1
commit
8b659a0a52
@ -143,6 +143,7 @@ export default createComponent({
|
|||||||
mounted() {
|
mounted() {
|
||||||
if (this.value || !this.poppable) {
|
if (this.value || !this.poppable) {
|
||||||
this.initRect();
|
this.initRect();
|
||||||
|
this.scrollIntoView();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user