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

[🐛 in esl-popup]: popup wrong position when the first time shown #399

Open
dshovchko opened this issue Aug 18, 2021 · 0 comments
Open
Assignees
Labels
under discussion waits triage Issue that waits to be reviewed and handled

Comments

@dshovchko
Copy link
Collaborator

Sometimes there is the wrong position of popup. It looks like that as soon as the popup was shown it has height slight larger. Immediately after that, the styles were applied to the contents of the popup and the height changed. But the popup position didn't update. The result is a gap between the trigger and the popup.

To Reproduce
Steps to reproduce the behavior:

  1. Select content of such length that it is on the verge of being placed in one line inside the popup. It is desirable that the content contains a link. Those, it will be shown at two lines without styles applying and it will be shown at one line with styles applying.
  2. Try to open the popup.
  3. This occurs only at the first opening.

Current behavior
If styles of popup content change the height of the popup it will have wrong position. But only at the first showing.

Expected behavior
In all cases, the popup must have the correct position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
under discussion waits triage Issue that waits to be reviewed and handled
Projects
None yet
Development

No branches or pull requests

3 participants