Issue #2373Opened November 4, 2019by FedericoPalma921 reactions

wrong position for datapicker and element controls

Question

[Bug]: Hello, I integrated grapes js into an asp.net core / angular project I have two problems:

  1. Randomly after adding blocks the toolbar and the highlighter are displayed in wrong positions. screen_position

  2. When I click on the datapicker it is displayed in a wrong position outside my window. screen_position_cp

Answers (3)

artfNovember 7, 20190 reactions

@picozzo92 Are you able to create a minimal reproducible demo of this issue? I'm working on a big canvas refactoring that will probably fix all related issues, having a reproducible demo will help to understand that

SaleDracheNovember 10, 20190 reactions

I had same issue for colorpicker positioning and concluded that it's position is given related to screen / html tag (position: absolute , left: x px) , but if any parent element containing gjs-editor has position: relative , it will affect modal's position (if for example you have a sidebar on a page like I had).

Hope that this helps and can give some hints.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.