Merge pull request #4827 from qburst/4824--fix-console-log-errors-in-inplace
fix: primevue#4824pull/4837/head
commit
4223a8f895
|
@ -40,7 +40,7 @@ const FocusTrap = BaseFocusTrap.extend('focustrap', {
|
|||
: DomHandler.getFirstFocusableElement(el, this.getComputedSelector(el.$_pfocustrap_focusableselector))
|
||||
: DomHandler.getFirstFocusableElement(_el);
|
||||
|
||||
return ObjectUtils.isNotEmpty(focusableElement) ? focusableElement : findNextFocusableElement(_el.nextSibling);
|
||||
return ObjectUtils.isNotEmpty(focusableElement) ? focusableElement : _el.nextSibling && findNextFocusableElement(_el.nextSibling);
|
||||
};
|
||||
|
||||
DomHandler.focus(findNextFocusableElement(mutation.nextSibling));
|
||||
|
|
Loading…
Reference in New Issue