diff --git a/src/components/calendar/Calendar.vue b/src/components/calendar/Calendar.vue index 8b2dfc92e..48ff3f439 100644 --- a/src/components/calendar/Calendar.vue +++ b/src/components/calendar/Calendar.vue @@ -1809,9 +1809,9 @@ export default { else { cell = DomHandler.findSingle(this.$refs.overlay, 'span.p-highlight'); if (!cell) { - let todayCell = DomHandler.findSingle(this.$refs.overlay, 'td.p-datepicker-today'); + let todayCell = DomHandler.findSingle(this.$refs.overlay, 'td.p-datepicker-today span:not(.p-disabled)'); if (todayCell) - cell = todayCell.children[0]; + cell = todayCell; else cell = DomHandler.findSingle(this.$refs.overlay, '.p-datepicker-calendar td span:not(.p-disabled)'); } diff --git a/src/components/dialog/Dialog.vue b/src/components/dialog/Dialog.vue index 81e821795..9e015d162 100644 --- a/src/components/dialog/Dialog.vue +++ b/src/components/dialog/Dialog.vue @@ -1,7 +1,7 @@