* @override
(e: FocusEvent)
| 371 | * @override |
| 372 | */ |
| 373 | _onfocusin(e: FocusEvent) { |
| 374 | const inputDomRef = this.getInputDOMRef(); |
| 375 | const wasTokenFocused = e.relatedTarget instanceof HTMLElement && e.relatedTarget.hasAttribute("ui5-token"); |
| 376 | |
| 377 | if (e.target === inputDomRef) { |
| 378 | if (wasTokenFocused) { |
| 379 | this.focused = true; |
| 380 | this.open = true; |
| 381 | this._inputIconFocused = false; |
| 382 | this._focusedAfterClear = false; |
| 383 | } else { |
| 384 | super._onfocusin(e); |
| 385 | } |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | onBeforeRendering() { |
| 390 | super.onBeforeRendering(); |
nothing calls this directly
no test coverage detected