MCPcopy Create free account
hub / github.com/UI5/webcomponents / _afterOpenPicker

Method _afterOpenPicker

packages/main/src/Input.ts:1424–1433  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1422 }
1423
1424 _afterOpenPicker() {
1425 // Set initial focus to the native input
1426 if (isPhone()) {
1427 this.previousValue = this.value;
1428 (this.getInputDOMRef())!.focus();
1429 this._composition?.addEventListeners();
1430 }
1431
1432 this._handlePickerAfterOpen();
1433 }
1434
1435 _afterClosePicker() {
1436 // close device's keyboard and prevent further typing

Callers

nothing calls this directly

Calls 5

getInputDOMRefMethod · 0.95
isPhoneFunction · 0.85
addEventListenersMethod · 0.80
focusMethod · 0.45

Tested by

no test coverage detected