Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select a section of text or place caret #165

Open
ForzaBo opened this issue Jul 31, 2024 · 5 comments
Open

Cannot select a section of text or place caret #165

ForzaBo opened this issue Jul 31, 2024 · 5 comments

Comments

@ForzaBo
Copy link

ForzaBo commented Jul 31, 2024

Maybe I am missing something, but with this component added to an input field, it is no longer possible to position the caret within the input text; instead all clicks within the field result in the entire slug of input text being selected. (It is possible to reposition the caret with the arrow keys, but that it very non-intuitive). Worse, it is not possible to select a section of the input text (to, say, delete it or copy to the clipboard) -- again, it's all or nothing.

My project is on 2019.4 LTS. I am using the latest version of WebGLInput as of this writing...

Thanks

@kou-yeung
Copy link
Owner

memo :
have a ext for sync the position ( i do not tried )
https://github.com/mariommoreno/WebGLInput-TMP_InputFieldExt

or you can try switch the "showHtmlElement" on to show html element on canvas.
https://github.com/kou-yeung/WebGLInput/blob/master/Assets/WebGLSupport/WebGLInput/WebGLInput.cs#L130C21-L130C36

@BuKuSiShen
Copy link

I also meet this Issue,need stronger solution.Thank you

@BuKuSiShen
Copy link

I also meet this Issue,need stronger solution.Thank you

@meta-winster
Copy link

I'm having the same issue -- clicking the text input field highlights all text. You're completely unable to select a small portion of the text input field to copy :(

@enigmablue
Copy link

enigmablue commented Oct 18, 2024

any solution for this? by any chance.

will try https://github.com/mariommoreno/WebGLInput-TMP_InputFieldExt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants