TimOetting / kirby-color

Color picker field for Kirby 3
46 stars 8 forks source link

Blur event not firing #10

Closed medienbaecker closed 2 years ago

medienbaecker commented 4 years ago

When focusing another field to blur the color picker, the blur event does not trigger. To hide the color picker you will then have to re-focus the field and click somewhere else:

colorpicker-blur

VIPStephan commented 4 years ago

To add to this issue, if I bring up the color picker and click anywhere in it (except the RGB/HSL/HEX input fields at the bottom), the shadow around the color picker disappears, along with the focus outline around the color field, and if I then try to focus one of the RGB/HSL/HEX input fields, the entire color picker disappears. It should stay visible if I want to focus one of these color picker inputs.

arnoson commented 3 years ago

In Kirby 3.5 the colorpicker stays open unless I click the small color panel (tested in the latest version of Firefox)