8 files changed +36
-34
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,10 @@ This project is licensed under the MIT License
129
129
130
130
## Change log
131
131
132
+ ### 2.10.4 (2022-03-04)
133
+ * Fixed [ change the time with keyboard in popover mode] ( https://github.com/talkhabi/vue-persian-datetime-picker/issues/214 )
134
+ * Fixed popover configuration
135
+
132
136
### 2.10.3 (2022-01-06)
133
137
* Fixed [ popover position in rtl pages] ( https://github.com/talkhabi/vue-persian-datetime-picker/issues/204 )
134
138
* Fixed [ keep the selected day in simple mode] ( https://github.com/talkhabi/vue-persian-datetime-picker/issues/207 )
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-persian-datetime-picker" ,
3
3
"description" : " A vue plugin to select jalali date and time" ,
4
- "version" : " 2.10.3 " ,
4
+ "version" : " 2.10.4 " ,
5
5
"private" : false ,
6
6
"author" : " Mohammad Talkhabi" ,
7
7
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -1790,7 +1790,6 @@ export default {
1790
1790
if (this .isPopover && this .$refs .picker && inputGroup) {
1791
1791
let isOnPicker = this .$refs .picker .contains (event .target )
1792
1792
let isOnInput = inputGroup .contains (event .target )
1793
- if (isOnPicker) event .preventDefault ()
1794
1793
if (! isOnPicker && ! isOnInput) {
1795
1794
// setTimeout because:
1796
1795
// first read the input value
@@ -1808,7 +1807,7 @@ export default {
1808
1807
offsetY: 0
1809
1808
}
1810
1809
if (typeof this .popover === ' object' && this .popover )
1811
- positionOptions . placement = this .popover
1810
+ positionOptions = this .popover
1812
1811
else if (typeof this .popover === ' string' )
1813
1812
positionOptions .placement = this .popover
1814
1813
popover .setPickerPosition (
Original file line number Diff line number Diff line change 520
520
height : 100% ;
521
521
text-align : center ;
522
522
outline : none ;
523
- font-size : inherit ;
524
523
color : inherit ;
524
+ font-size : inherit ;
525
525
line-height : inherit ;
526
+ font-family : inherit ;
526
527
opacity : 0 ;
527
528
padding : 5% 0 0 0 ;
528
529
}
0 commit comments