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

Position not updated when window width changes #39

Open
mxgross opened this issue Sep 19, 2017 · 0 comments
Open

Position not updated when window width changes #39

mxgross opened this issue Sep 19, 2017 · 0 comments

Comments

@mxgross
Copy link

mxgross commented Sep 19, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant