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

Merge tags block positioning issues #258

Open
ketys-from-meiro opened this issue Mar 1, 2023 · 4 comments
Open

Merge tags block positioning issues #258

ketys-from-meiro opened this issue Mar 1, 2023 · 4 comments

Comments

@ketys-from-meiro
Copy link

Hi guys, I'm trying to implement our own merge tags picker into the easy email editor but I've faced some problems with positioning. We have two-levels picker for better orientation in it, so imajin it as a data source -> attribute where attribute === tag.

When I for example insert the image block and want to choose some tag for its url, it opens above the input field and is cropped at the top if I'm not scrolled down with the whole page:
Screenshot 2023-03-01 at 11 53 20

Additionally when I start scrolling in the sidebar, it's still there fixed in the upper part of the easy email's sidebar.
Screenshot 2023-03-01 at 11 53 35

Last thing, when I scroll down a bit so it opens properly, then choose some data source with low number of attributes, the window can fit above the input field and it creates some weird jumping effect where sometimes you have the dropdown below, sometimes above.
Screenshot 2023-03-01 at 11 53 41

Do you have some suggestions what can I do with that? Is it something which could be potentially fixed in your repo? Thanks a lot!

@m-Ryan
Copy link
Collaborator

m-Ryan commented Mar 2, 2023

image

Try renderMergeTagContent

@ketys-from-meiro
Copy link
Author

@m-Ryan yeah that's what I used, don't have problem it doesn't work at all, but the positioning of the merge tags block in sidebar is kinda clunky and sometimes bugged

@m-Ryan
Copy link
Collaborator

m-Ryan commented Mar 7, 2023

I don't quite understand your meaning, more information is needed.

@ketys-from-meiro
Copy link
Author

@m-Ryan just try to place inside renderMergeTagContent some tall div and it will be cut in the upper edge of the editor area

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

2 participants