mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
fix(Calendar): incorrect position when poppable is false (#5760)
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user