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

CommentFileSizeAuthor
#4 colorpicker-6.x-2.0-rc3_ie7.patch989 bytesTracy Dean
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

landscribe’s picture

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.

eme’s picture

Priority: Normal » Critical

I think we can switch to critical as the module is of almost of no use with this bug...

eme’s picture

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.

Tracy Dean’s picture

I think I've sovled the problem with IE7. See attached patch.

Tested with IE6, IE7, IE8, Firefox 3.5.6 & Safari (not sure of the version).

Tracy Dean’s picture

Status: Active » Needs review

Please review the previously submitted patch.

dwees’s picture

I'm pretty much out of active development over here. Other concerns making my life too busy. Hopefully Skilip or Slurslee can take a look at this. Thanks for submitting a patch.

Dave

bigmikestudios’s picture

The patch worked for me, and narrowly prevented hours of frustration. Thanks!