Skip to content

Color picker does not close on Edge or FF60 #6

Open
@jcgueriaud1

Description

@jcgueriaud1

When click on select or cancel, the color picker does not close automatically.

It happens on old FF and Edge.
FF60 is old so it's not really a problem.

I think this may fix the problem.

  _cancelPopUp(e) {
    this._contextMenu.close(); // close the contextmenu in old browser
    e.target.dispatchEvent(new CustomEvent('_closeColorPickerPopUp', {composed: true}));
  }

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