ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

fix(framework): prevent endless loop when setting focusDomRef to root

Open MapTo0 opened this issue 1 year ago • 0 comments

When having a case where we want to focus the root of the custom element e.g.

getFocusDomRef() {
    return this;
}

we got in an endless loop in the UI5Element.prototype.focus method.

MapTo0 avatar Dec 14 '23 10:12 MapTo0