No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

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

    mobile app (cordova) can't select/copy text?

    Help
    2
    5
    128
    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.
    • R
      rconstantine last edited by

      Hey guys,

      Let me know if this is a Cordova question and I should take it there or not.

      When I build an app that displays HTML content, if I use a web browser, the browser’s own select/copy functionality is used. For mobile builds, I’m not seeing any built-in functionality for the same thing. Is there something simple I can do in Quasar to get this behavior? Or is there a Cordova plugin? Or should I be doing something in JavaScript myself?

      Thanks

      1 Reply Last reply Reply Quote 0
      • R
        rconstantine last edited by

        Any ideas? I haven’t found an answer yet.

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman last edited by metalsadman

          I can copy text just fine by tap hold on the text within my app.

          1 record selected.
          Records per page:
          7
          1-3 of 3
          

          Example text i copied from qtable of my app. if the element you invoke hold tap has an event with stop or prevent modifier, then normal webview behavior wont work.

          1 Reply Last reply Reply Quote 0
          • R
            rconstantine last edited by

            Hmm, Ok. I don’t think I have anything inhibiting it, but I’ll look for that.

            1 Reply Last reply Reply Quote 0
            • R
              rconstantine last edited by

              Looks like when I used 0.15 I pulled in a Vue module to handle touches and swipes, but only implemented the swipe. I think it was blocking the rest, maybe. I see that Quasar does have touch and swipe handlers so I’m removing it. Did Quasar have those in 0.15 and I needlessly used the other Vue module I mentioned? Perhaps.

              I have other bugs I’m dealing with while I upgrade to 1.0.5 so I won’t be pushing it to a mobile device until those are squashed. But I’m confident the select/copy issue was all my fault. 🙂 I’ll modify the title to [solved] once I validate.

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