-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi, very cool picker, thank you!
Please help - I want to create the picker at the top level of DOM-tree and show/hide it dynamically when the user clicks one of the sub-elements on the page.
Can I do it?
I want picker to be passive, so it will not listen for clicks, and also I want to position it absolutely, depending on which element was clicked.
I tried to create picker instance on click, then use method 'show', and then destroy it onDone.
But currently, the picker tries to add itself as a child of a clickable element, but this absolutely doesn't work in my case, because the parent element is overflow: hidden and also heavy CSS applied in the area of this element, so picker gets very distorted. (I have an editable tree of properties, and some of these properties are colors)
So, if I will create picker instance with body parent - can I control somehow it's revealing position?