kikoano / web2vr

Dynamically translate HTML and CSS to A-Frame 3D world for virtual reality.
MIT License
126 stars 23 forks source link

Could there be better support for textareas? #12

Open jamesrez opened 3 years ago

jamesrez commented 3 years ago

Right now I'm able to plug the textarea into VR but it's a bit limited.

My main issue is being able to select where in the textarea I want to edit. Seems like it defaults to the end of the text.

Is it possible to determine what part of the textarea I'm clicking on?

I also notice the textarea isn't showing tab indented spaces?

Thanks for the help, this has been a great tool so far

kikoano commented 3 years ago

There is no feature to select input text cursor position. Will be nice if I can find some aframe component for it. I could try to make it one day.

jamesrez commented 3 years ago

Yeah I haven't found anything suitable yet. Not sure how aframe would handle figuring out where in the text you're at. I'm going to keep looking / working at it. Thanks again

kylebakerio commented 3 years ago

Maybe left/right/up/down arrow keys in-world alongside an in-world keyboard would be an ok compromise?