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

Use floating-ui’s autoUpdate to handle updates of positioning #858

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tgrelka
Copy link

@tgrelka tgrelka commented May 12, 2022

This PR not only updates the @floating-ui/dom dependency to the most recent version (0.5.0) to fix some issues, but also uses the autoUpdate function available since version 0.3.0 to update the popper and arrow positions.
This means the vue-resize dependency and component are no longer required. To keep compatibility, the resize event of the popper component is now emitted after updating the position, when requested by autoUpdate.

Build and tests run just fine, manual testing of the component and features (tooltips, dropdown menus etc.) with resizing of tooltips, window, repositioning elements etc. worked very well.

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

Successfully merging this pull request may close these issues.

None yet

2 participants