cancel
Showing results for 
Search instead for 
Did you mean: 

Scrollable text

heyo
Senior

Hello,

Is it possible to know scrollable text coordinate? I want to do editable text in keyboard and by touch I know where the cursor needs to be. When I touch somewhere in the text I know touch coordinate but I need to know scrollable text coordinate. For example the scrollable container has defined area and if scroll text down and touch it will be the same coordinate as I touch before. I don't know are you understand what I want. Let me know. I try to explain more. Thanks.

2 REPLIES 2
Romain DIELEMAN
ST Employee

Hi,

Could you elaborate a bit more on what you have tried to do as of now ? You have a textArea widget in a scrollable container and now wish to know where you've clicked exactly within that scrollable container/text ?

/Romain

I attached callback on scrollable container. When I click container it goes in my created function and there I get touch coordinate. Yes, my textArea is in scrollable container, and yes I wish to know exactly touch coordinate within scrollable container.