ruhley / angular-color-picker

Vanilla AngularJS Color Picker Directive with no requirement on jQuery
http://ruhley.github.io/angular-color-picker/
MIT License
165 stars 78 forks source link

Hide events don't seem to respect their properties #147

Closed aaw5017 closed 7 years ago

aaw5017 commented 7 years ago

Hi there,

I was recently dealing with a bug in IE11 where the "Clear" button was not working properly. I worked around this issue by setting hide: { blur: false };. However, the picker popup still seems to close whenever a blur, click, or escape event is fired, even if I set those properties to false. This issue seems to occur in all browsers. Not a huge deal, just wanted to let you know!

Thanks for the awesome library!

ruhley commented 7 years ago

Apparently this is a known IE bug - https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/101237/. I have changed from focus/blur to focusin/focusout like that page suggests.