Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Color picker offset relative to editor container #5703

Closed
2 tasks done
bernesto opened this issue Feb 25, 2024 · 0 comments
Closed
2 tasks done

BUG: Color picker offset relative to editor container #5703

bernesto opened this issue Feb 25, 2024 · 0 comments

Comments

@bernesto
Copy link
Contributor

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome v122

Reproducible demo link

https://jsfiddle.net/v4e5d90z/

Describe the bug

How to reproduce the bug?

  1. Place the editor in any container.

What is the expected behavior?
The color picker should appear relative to the input that opened the picker.

What is the current behavior?
The picker is relative to the window and not the editor container. This results in the picker opening offset by the cumulative offsets of all offset parent containers.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@artf artf closed this as completed in f1754b8 Mar 4, 2024
bernesto added a commit to Neoreef/neoreef-plaform-grapesjs that referenced this issue Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant