Fixed #3526 - Calendar: Regression. Incorrect calendar pop-up positioning when used as editor in DataTable
parent
2da56f7ed9
commit
aca9fcf8dd
|
@ -141,9 +141,11 @@ export default {
|
|||
}
|
||||
|
||||
if (this.d_editing && (this.editMode === 'cell' || (this.editMode === 'row' && this.columnProp('rowEditor')))) {
|
||||
setTimeout(() => {
|
||||
const focusableEl = DomHandler.getFirstFocusableElement(this.$el);
|
||||
|
||||
focusableEl && focusableEl.focus();
|
||||
}, 1);
|
||||
}
|
||||
},
|
||||
beforeUnmount() {
|
||||
|
|
|
@ -513,7 +513,7 @@ export default {
|
|||
},
|
||||
|
||||
isExist(element) {
|
||||
return element !== null && typeof element !== 'undefined' && element.nodeName && element.parentNode;
|
||||
return !!(element !== null && typeof element !== 'undefined' && element.nodeName && element.parentNode);
|
||||
},
|
||||
|
||||
isClient() {
|
||||
|
|
Loading…
Reference in New Issue