File tree Expand file tree Collapse file tree 3 files changed +7
-47
lines changed Expand file tree Collapse file tree 3 files changed +7
-47
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"name" : " vue-functional-calendar" ,
8
8
"description" : " A style-uninstallable datepicker component for Vue.js" ,
9
- "version" : " 2.2.7 " ,
9
+ "version" : " 2.3.0 " ,
10
10
"license" : " MIT" ,
11
11
"repository" : {
12
12
"type" : " git" ,
Original file line number Diff line number Diff line change 23
23
@click =" showCalendar = !showCalendar" >
24
24
</div >
25
25
26
- <div class =" vfc-main-container" v-if =" showCalendar" ref =" mainContainer"
26
+ <div class =" vfc-main-container" v-show =" showCalendar" ref =" mainContainer"
27
27
:class =" {'vfc-modal': fConfigs.isModal && (fConfigs.isDatePicker || fConfigs.isDateRange)}" >
28
28
<template v-if =" showMonthPicker " >
29
29
<div class =" vfc-months-container" >
731
731
setCalendarStyles () {
732
732
let day = this .$refs .day [0 ];
733
733
let container = this .$refs .mainContainer ;
734
+ container .style .display = " " ;
734
735
let height = container .clientHeight + day .clientHeight ;
735
736
container .style .height = height + " px" ;
737
+
738
+ if (this .fConfigs .isModal ){
739
+ container .style .display = " none"
740
+ }
736
741
}
737
742
}
738
743
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments