Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved How to scroll in textarea on mobile

    QML and Qt Quick
    3
    3
    254
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jd42 last edited by jd42

      Hi, is it possible to scroll within a textarea if you type in a longer text without a scrollbar like in other apps (e. g. Whatsapp). In my case it always selects the text and i'm not able to scroll by touch and move. It is a bit annoying. Is there a way or a workaround to do that? I'm developing on android apps.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • M
        Mammamia last edited by

        Have you tried to wrap the TextArea inside a ScrollView like this?

        scrollable-textarea

        1 Reply Last reply Reply Quote 0
        • ekkescorner
          ekkescorner Qt Champions 2016 last edited by

          not so easy for the textarea to know if you want to scroll or tap and edit/select text or if you want to scoll in on outer Scrollview

          perhaps this gives you some ideas:
          https://appbus.wordpress.com/2017/03/25/text-selection-handles-qt-5-8/

          ekke ... Qt Champion ... mobile business apps
          5.15 --> 6.6 https://t1p.de/ekkeChecklist

          1 Reply Last reply Reply Quote 0
          • First post
            Last post