Skip to content

Text input keeps focus after picker is closed #6

@abesto

Description

@abesto

The text input field of the colorpicker retains focus after the picker popup is closed. This in itself is not a problem, but the next click anywhere on the page makes the field lose focus, firing the blur handler and changing the selected color.

I don't know how hacky it is, but adding $mColorPickerInput.blur() into $.fn.mColorPicker.closePicker solves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions