Title: Dragging on scrollbar selects elements
Last modified: August 21, 2016

---

# Dragging on scrollbar selects elements

 *  Resolved [mgiulio](https://wordpress.org/support/users/giuliom/)
 * (@giuliom)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/)
 * On Chrome 35, dragging on the custom scrollbar causes a selection of all elements
   of the ‘Sidebars’ area of the page whenever the mouse pointer leak to the left
   into a sidebar element or to the right of the scrollbar ‘lane’.
 * [https://wordpress.org/plugins/custom-sidebars/](https://wordpress.org/plugins/custom-sidebars/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [David](https://wordpress.org/support/users/ugotsta/)
 * (@ugotsta)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085309)
 * Hi @mgiulio,
 * I hope you’re well today! Sorry if you’ve had trouble with that. I believe that’s
   the due to the scrolling issue we’ve had reported here:
    [http://wordpress.org/support/topic/v-202-unable-to-scroll-sidebar-in-widget-section](http://wordpress.org/support/topic/v-202-unable-to-scroll-sidebar-in-widget-section)
 * The lead developer’s looking into it and we should have an update along soon.
   Thanks for your patience with this. 🙂
 * Thanks!
    David
 *  [Philipp](https://wordpress.org/support/users/strackerphil/)
 * (@strackerphil)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085473)
 * Hi @mgiulio,
 * we did try to replicate the behavior you described. Possibly I tested the wrong
   things, however, we were not able to observe the selection issue.
 * Maybe a screenshot might help that shows what is dragged and on which drag-position
   the sidebars are selected…
    Also I am not 100% sure if this means they are selected
   like I select text on a page (I assume you did mean this), or if they are in 
   some way marked as selected (e.g. like a mouse-hover effect)
 * Btw: Thanks for your extraordinary support on this plugin 🙂
    Philipp
 *  Thread Starter [mgiulio](https://wordpress.org/support/users/giuliom/)
 * (@giuliom)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085480)
 * Hi [@philipp](https://wordpress.org/support/users/philipp/),
 * Yes, the sidebars are selected like [text selection on a page](http://mgiulio.info/wp-content/uploads/2014/07/Clipboard01.png).
 * When I drag with the mouse the custom scrollbar, if the mouse pointer remains
   inside it there are no problems. But when the pointer goes outside the scrollbar,
   some page elements are selected. In more detail: if pointer goes left, the mouse
   cursor changes from the hand icon to the ‘I’-shaped text icon, and when it touches
   the border of the theme sidebar, elements on and above the vertical position 
   of the pointer get selected. The scrollbar itself is selected too.
    If pointer
   goes right, all elements are selected.
 * Some additional notes:
    - The problem persists on 2.0.9
    - No Js errors in console
 * Hope this helped,
    Giulio
 *  Thread Starter [mgiulio](https://wordpress.org/support/users/giuliom/)
 * (@giuliom)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085486)
 * Hi, I’ve fixed this by adding the CSS rule `-webkit-user-select: none;` to the
   element div.widget-liquid-right:
 *     ```
       .widget-liquid-right {
          -webkit-user-select: none;
          -moz-user-select: none;
          -ms-user-select: none;
          user-select: none;
       }
       ```
   
 * All text highlighting is gone. Even the scrollbar itself doesn’t get highlighted
   anymore.
 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085487)
 * Hi Giulio,
 * Thank you for your detailed reply and great to see you got that fixed.
 * I could reproduce the same issue on my test site using the latest version of 
   Custom Sidebars plugin therefore i have notified the plugin developer about it
   so that it can be fixed.
 * I have tested it on Windows firefox and chrome browser.
 * Have a great day!
 * Thanks,
    WPMU DEV

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dragging on scrollbar selects elements’ is closed to new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/dragging-on-scrollbar-selects-elements/#post-5085487)
 * Status: resolved