floating-vue icon indicating copy to clipboard operation
floating-vue copied to clipboard

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

Open tgrelka opened this issue 3 years ago • 0 comments

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.

tgrelka avatar May 12 '22 09:05 tgrelka