Color select - IE7 Problem
landscribe - July 26, 2009 - 23:34
| Project: | Colorpicker |
| Version: | 6.x-2.0-rc3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
On clicking the the cursor within the .colorwrapper/.farbtastic area, the colorwheel disappears, meaning you can't drag your mouse cursor around to choose a color on the colorwheel.
However, if you hold down your mouse and do not release the click, you can drag your cursor around the whole screen area (the colorwheel has disappeared), and the hex color code in the input field will continue change as if the colorwheel was still visible.
IE 7.0.5730.11
WinXP service pack 3
Drupal 6.13
CCK 6.x-2.4

#1
NB. This seems to be a problem with the way colorpicker colorwheel is popping up, as I tested the default Garland theme colur picking option, and it worked fine in IE7.
#2
I think we can switch to critical as the module is of almost of no use with this bug...
#3
It seems that the problem comes from the javascript (colorpicker.js), and especially from line 74 : $('.colorwrapper').hide();
This line is supposed to hide the colorpicker when the user click anywhere. Normally, it should not show off when the user click on the colorpicker itself, but for an unexplained reason it does on IE7.
So for the moment, a fix would be to desactivate this line. The colorpicker then works properly, but you can hide it only if you click on the close button or if you click on another colorpicker.