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

Add inline to Popper props #1063

Open
mathieulebasic opened this issue Dec 11, 2024 · 1 comment
Open

Add inline to Popper props #1063

mathieulebasic opened this issue Dec 11, 2024 · 1 comment

Comments

@mathieulebasic
Copy link

Problem

When using the floating-vue component on inline text, the tooltip is not correctly positionned as shown in the screenshot below (taken from the demo)
image

Solution

A solution would be to add an inline props to the Popper component in order to leverage the inline() method of the floating-ui library

@mathieulebasic
Copy link
Author

mathieulebasic commented Dec 11, 2024

@Akryum I've come up with a pretty naive but functionnal approach for this. I have already made it working on my local env, I would be happy to open a PR on this projet to get it working (we love this project and highly need it now 😄 )

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

1 participant