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

popover far from button #28

Open
GMounir opened this issue Mar 2, 2018 · 7 comments
Open

popover far from button #28

GMounir opened this issue Mar 2, 2018 · 7 comments
Labels

Comments

@GMounir
Copy link

GMounir commented Mar 2, 2018

Thank you for this plugin 👍 .

Why popover not close to button

button(v-popover.left="{ name: 'foo' }") Toggle popover
popover(name="foo") Hello

@euvl euvl added the question label Mar 2, 2018
@GMounir
Copy link
Author

GMounir commented Mar 2, 2018

Do i have to add position to this class?

div[data-popover="tooltip"] {
	top: -5px !important;
	left: 20% !important;
}

@quodos
Copy link

quodos commented Mar 29, 2018

This seems to be a problem with parent elements that have position:relative. Anyone has a fix already?

@dainemedia
Copy link

Yup! Getting the same thing. It's absolutely miles away. In fact, it's off-screen.

@stevenharman
Copy link

Is this a duplicate of #27, which has been fixed by #34?

@mikerodham
Copy link

mikerodham commented Jul 4, 2018

I'm not using position relative, in fact just display: block; and it's on the other side of the page.

Edit: Yes it was, the position relative was on the 4th parent.

Edit2: If you scroll down the page, then click the popover it's absolutely miles away. Any help?

@hjbdev
Copy link

hjbdev commented Jul 12, 2018

This also seems to be happening when the parent is position:fixed.

@JosNun
Copy link

JosNun commented Feb 20, 2019

@stevenharman This is still happening for me on v 1.1.8. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants