floating-vue
floating-vue copied to clipboard
Use floating-ui’s autoUpdate to handle updates of positioning
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.