mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Merge pull request #4827 from qburst/4824--fix-console-log-errors-in-inplace
fix: primevue#4824
This commit is contained in:
commit
4223a8f895
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue