Skip to content

Commit 5794f06

Browse files
committed
Merge branch 'hotfix/v2.10.4'
2 parents 4b2509b + 4068080 commit 5794f06

8 files changed

+36
-34
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ This project is licensed under the MIT License
129129

130130
## Change log
131131

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+
132136
### 2.10.3 (2022-01-06)
133137
* Fixed [popover position in rtl pages](https://github.com/talkhabi/vue-persian-datetime-picker/issues/204)
134138
* Fixed [keep the selected day in simple mode](https://github.com/talkhabi/vue-persian-datetime-picker/issues/207)

dist/vue-persian-datetime-picker.common.js

+13-14
Large diffs are not rendered by default.

dist/vue-persian-datetime-picker.umd.js

+13-14
Large diffs are not rendered by default.

dist/vue-persian-datetime-picker.umd.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-persian-datetime-picker",
33
"description": "A vue plugin to select jalali date and time",
4-
"version": "2.10.3",
4+
"version": "2.10.4",
55
"private": false,
66
"author": "Mohammad Talkhabi",
77
"license": "MIT",

src/VuePersianDatetimePicker.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,6 @@ export default {
17901790
if (this.isPopover && this.$refs.picker && inputGroup) {
17911791
let isOnPicker = this.$refs.picker.contains(event.target)
17921792
let isOnInput = inputGroup.contains(event.target)
1793-
if (isOnPicker) event.preventDefault()
17941793
if (!isOnPicker && !isOnInput) {
17951794
// setTimeout because:
17961795
// first read the input value
@@ -1808,7 +1807,7 @@ export default {
18081807
offsetY: 0
18091808
}
18101809
if (typeof this.popover === 'object' && this.popover)
1811-
positionOptions.placement = this.popover
1810+
positionOptions = this.popover
18121811
else if (typeof this.popover === 'string')
18131812
positionOptions.placement = this.popover
18141813
popover.setPickerPosition(

src/assets/scss/style.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,10 @@
520520
height: 100%;
521521
text-align: center;
522522
outline: none;
523-
font-size: inherit;
524523
color: inherit;
524+
font-size: inherit;
525525
line-height: inherit;
526+
font-family: inherit;
526527
opacity: 0;
527528
padding: 5% 0 0 0;
528529
}

0 commit comments

Comments
 (0)