Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to scroll in textarea on mobile
Forum Updated to NodeBB v4.3 + New Features

How to scroll in textarea on mobile

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 3 Posters 737 Views 1 Watching
  • 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 Offline
    J Offline
    jd42
    wrote on last edited by jd42
    #1

    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
    0
    • M Offline
      M Offline
      Mammamia
      wrote on last edited by
      #2

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

      scrollable-textarea

      1 Reply Last reply
      0
      • ekkescornerE Offline
        ekkescornerE Offline
        ekkescorner
        Qt Champions 2016
        wrote on last edited by
        #3

        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 2016 | 2024 ... mobile business apps
        5.15 --> 6.8 https://t1p.de/ekkeChecklist
        QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved