Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8718863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:39:12+00:00 2026-06-13T06:39:12+00:00

Using HTML5 Drag and Drop, text within the draggable container becomes non-selectable. I’ve tried

  • 0

Using HTML5 Drag and Drop, text within the draggable container becomes non-selectable.

I’ve tried adding user-select CSS tags to the parent element of the text but it did not seem to help.

   [draggable] {
     -moz-user-select: all;
     -khtml-user-select: all;
     -webkit-user-select: all;
      user-select: all;
   }

This fiddle (from HTML5 Rocks) demonstrates the issue I’m having.

The HTML5 Rocks Drag and Drop tutorial does say “If you want to enable other types of content to be draggable, you’ll need to leverage the HTML5 DnD APIs.” I guess I don’t know how that can work

This fiddle works, but makes use of jQuery UI, I cannot use jQuery UI due to its heavy payload.

Is there a standard, lightweight way to get selection with drag and drop support?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:39:14+00:00Added an answer on June 13, 2026 at 6:39 am

    So simple trick here is to make dragable header element, not whole element.

    <div class="dragme">
        <header dragable="true">Header</header>
     <p>Content</p>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirment to allow Drag and Drop with out using HTML5. This
Could anyone post a minimalistic example of drag'n'drop imeplementation using jQuery without using draggable
I'm currently working on a project at work using the HTML5 Drag and Drop
Recently I've been looking into adding a simple HTML5 drag and drop to my
I'm using the Draggable/Droppable functionality of Jquery to allow drag-and-drop from a TreeView to
I'm trying to setup HTML5 drag and drop using dataTransfer.getData (http://html5demos.com/drag-anything) which reads any
I want to allow user to drag and drop UI elements. I've 'container' and
Full code at https://gist.github.com/992562 . I am using HTML File API and drag/drop to
I am uploading some images using plupload and adding those images to div container.And
I have a page with html5 drag and drop upload feature and the file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.