TextMeshPro Input field webgl Error on touch

-Unity 2022
-TextMeshPro 3.2.0 pre 4
-Google Chrome 114.0.5735.90

Input Field with different “Content Type”, for example only numbers or email invoke this exception on browser console and open pop up error when field is clicked with touch, possibly because is trying to open mobile keyboard?:

Invoking error handler due to
InvalidStateError: Failed to execute ‘setSelectionRange’ on ‘HTMLInputElement’: The input element’s type (‘number’) does not support selection.
Error: Failed to execute ‘setSelectionRange’ on ‘HTMLInputElement’: The input element’s type (‘number’) does not support selection.
at _JS_MobileKeyboard_SetTextSelection (…i hided this part for privacy
/Build/farming_build.framework.js:10:234148
at Object.touchEventHandlerFunc [as handlerFunc] (…i hided this part for privacy)
at HTMLCanvasElement.jsEventHandler (…i hided this part for privacy)

Somebody here?

I opened a bug report: IN-43034

Looks like it’s still not fixed in 2023.2 and Firefox 115.
@AndreaGalet any news on the bug report? Maybe a public tracker link?

Setting the input field from email to standard still works as workaround for me.

Sure, here the public tracker code and link:
-Link: https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-42824
-Code: UUM-42824 in case link is not availble for whatever reason

1 Like

Please vote for it if you care

Yes standard mode works