itsjavi / bootstrap-colorpicker

Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.

Home Page:https://itsjavi.com/bootstrap-colorpicker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox: mouse-dragging in color-selection-popup selects text behind

Fennes3 opened this issue · comments

Description

In firefox there occours a random selection of text of the page behind color-selection-popup while mouse-dragging in the popup. This also happens on the example-page (https://farbelous.io/bootstrap-colorpicker/tutorial-Basics.html)

Context

  • bootstrap-colorpicker version: v3.0.3
  • bootstrap version: v4.1.1
  • jQuery version: {Please write here}
  • Browser name and version: Firefox 62.0.2 (64-Bit)
  • Operative System name an version: Windows 10

Expected behavior

No selection of text of the page behind the popup while mouse-dragging

Actual behavior

Selection of text of the page behind the popup while mouse-dragging

Live Example

https://farbelous.io/bootstrap-colorpicker/tutorial-Basics.html

Following piece of css fixes this behaviour for Firefox:

.colorpicker.colorpicker-popup {
    -moz-user-select: none;
}
commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for all your contributions.

The issue still exists, but it works greate with the css fix of @Fennes3 :

Following piece of css fixes this behaviour for Firefox:

.colorpicker.colorpicker-popup {
    -moz-user-select: none;
}