Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Position not updated when window width changes #39

@mxgross

Description

@mxgross

Testet on Google Chrome Version 60.0.3112.113 (Offizieller Build) (64-Bit)

Because the colorpicker is insertet directly under the body tag in the DOM it is not updating its position when it is opened and the window with changes.

Solution may be to add 'position: relative;' CSS to the element which opens the colorpicker by click. And then define the position of the color palette absolute to the parent element. Because the parent is moved correctly when the window size changes.

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