Skip to content

Commit

Permalink
Merge branch 'hotfix/v2.10.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
talkhabi committed Mar 4, 2022
2 parents 4b2509b + 4068080 commit 5794f06
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 34 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ This project is licensed under the MIT License

## Change log

### 2.10.4 (2022-03-04)
* Fixed [change the time with keyboard in popover mode](https://github.com/talkhabi/vue-persian-datetime-picker/issues/214)
* Fixed popover configuration

### 2.10.3 (2022-01-06)
* Fixed [popover position in rtl pages](https://github.com/talkhabi/vue-persian-datetime-picker/issues/204)
* Fixed [keep the selected day in simple mode](https://github.com/talkhabi/vue-persian-datetime-picker/issues/207)
Expand Down
27 changes: 13 additions & 14 deletions dist/vue-persian-datetime-picker.common.js

Large diffs are not rendered by default.

27 changes: 13 additions & 14 deletions dist/vue-persian-datetime-picker.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-persian-datetime-picker.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-persian-datetime-picker",
"description": "A vue plugin to select jalali date and time",
"version": "2.10.3",
"version": "2.10.4",
"private": false,
"author": "Mohammad Talkhabi",
"license": "MIT",
Expand Down
3 changes: 1 addition & 2 deletions src/VuePersianDatetimePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,6 @@ export default {
if (this.isPopover && this.$refs.picker && inputGroup) {
let isOnPicker = this.$refs.picker.contains(event.target)
let isOnInput = inputGroup.contains(event.target)
if (isOnPicker) event.preventDefault()
if (!isOnPicker && !isOnInput) {
// setTimeout because:
// first read the input value
Expand All @@ -1808,7 +1807,7 @@ export default {
offsetY: 0
}
if (typeof this.popover === 'object' && this.popover)
positionOptions.placement = this.popover
positionOptions = this.popover
else if (typeof this.popover === 'string')
positionOptions.placement = this.popover
popover.setPickerPosition(
Expand Down
3 changes: 2 additions & 1 deletion src/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,10 @@
height: 100%;
text-align: center;
outline: none;
font-size: inherit;
color: inherit;
font-size: inherit;
line-height: inherit;
font-family: inherit;
opacity: 0;
padding: 5% 0 0 0;
}
Expand Down

0 comments on commit 5794f06

Please sign in to comment.