Ionic 8.5, TypeScript 4.9.5, VSCode 1.98.2.
ionSelectRef.current.setFocus() shows error in VS code as below, but it works just fine, in Web Browser, Android, and iOS, it does scroll the page the where the select item is, even though the cursor does not show, which I think is normal as it is not a keyboard input field.
Property ‘setFocus’ does not exist on type ‘HTMLIonSelectElement | HTMLIonInputElement | HTMLIonRadioGroupElement | HTMLIonTextareaElement | HTMLIonCheckboxElement’.
Property ‘setFocus’ does not exist on type ‘HTMLIonSelectElement’.ts(2339)