Skip to content

Inline mode trigger click on parent element #243

@bjarnef

Description

@bjarnef

What is the current behavior?

I have used Pickr as a color picker property editor in Umbraco CMS, which seems to work very well.
However on a document type where a property is added it shows a preview of this (Pickr is rendered in background).

image

When inline mode is false it works as expected. However when inline mode is true it seems to trigger a click event on the parent element after the inline color picker is shown. So after the inline picker is rendered it opens this overlay, which usually only open when clicking the preview area. When inline mode in the Pickr instance is false this doesn't happen, so I am wondering a click event happens after rendering the inline picker?

image

Your environment:

Version (see Pickr.version): 1.7.2
Used bundle (es5 or normal one): Normal one
Used theme (default is classic): Classic
Browser-version:  Chrome v84.0.4147.135
Operating-system:  Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions