Automattic / Iris

A(n awesome) Color Picker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setting to close Iris when you click off of it

opened this issue · comments

I'm trying to use Iris for multiple text inputs on a page. However, whenever you open an instance of Iris, it does not close.

In this example - http://jsfiddle.net/sFnsB/1/ - you can see that there are 2x text inputs. I've styled Iris so it displays absolutely on top of the form (another feature I'd love to see out of the box), but as you'll see, it's pretty much impossible for me to use Iris in this scenario.

It would be great to have a 'close when you click away' setting for Iris. Or even an setting to add a close button, if desired.

Here is an image showing the current impracticalities of using Iris for my scenario -
iris-fail