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

[Popper] - investigate if portal can have position relative #618

Open
michalkvasnicak opened this issue Jun 15, 2020 · 0 comments
Open

[Popper] - investigate if portal can have position relative #618

michalkvasnicak opened this issue Jun 15, 2020 · 0 comments
Labels
help wanted Extra attention is needed visage Visage package
Milestone

Comments

@michalkvasnicak
Copy link
Member

Sometimes, when you apply a Tooltip on an element, the Popper is shown in top left corner of viewport. Then you need to specify the container of the element as relative which is bad developer experience.

Now the Popper is wrapped in a div that belongs to Portal, could we set position relative to this portal so it's always correctly positioned?

Is really non relative position a cause in all scenarios? For example Popover doesn't have this problem but it doesn't use transform3d for positioning but top, left attributes instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed visage Visage package
Projects
None yet
Development

No branches or pull requests

1 participant