Skip to content

💬 Easy tooltips, popovers, dropdown, menus... for Vue

License

Notifications You must be signed in to change notification settings

holistics/floating-vue

 
 

Repository files navigation

@holistics/floating-vue

About the fork

This fork has the @holistics/floating-vue package that tries to fix the following issues:

  • [Performance] Disable toggling CSS class of <body>: this makes the entire page reflow whenever some floating elements are shown/all are hidden (PR #1019). Can be re-enabled via toggleBodyClass prop.
  • [Fix] Properly fix diagonal submenu problem (#916) via fixDiagonalSubmenuProblem prop
  • [Fix] Fix sibling submenus not showing after current submenu is timed out and hidden

📦️ Versioning and syncing

This fork uses <pre-release> verison under the identifier holistics to preserve changes between forked versions. For example, 5.2.2-holistics.1 means:

  • 5.2.2 is the version that was forked
  • holistics is the <pre-release identifier>
  • 1 is the first change to the version forked above (ranges from [0..+infinity])

To sync with the latest version of the original package (e.g. version 5.9.0):

  1. Use git merge upstream/main --no-commit and resolve conflicts if have any

  2. Bump to the latest version in packages/floating-vue/package.json (e.g. 5.9.0-holistics.0)

  3. Add a new CHANGELOG entry

  4. Commit the changes

  5. Publish the package to both Holistics internal and NPM registries (must use npm):

    $ cd packages/floating-vue
    $ npm publish
    # NPM registry
    $ npm publish --access=public --@holistics:registry=https://registry.npmjs.org/

Floating Vue logo

Floating Vue

Easy tooltips, dropdowns, menus... with Floating UI

📚️ Documentation

The package has been renamed from v-tooltip to floating-vue and now uses floating-ui instead of popperjs. You can find the new changelog for both v1 (for Vue 2) and v2 (for Vue 3) here. The changelog is currently not pushed to GitHub Releases.

New versions:

Old New Target
v-tooltip v3 floating-vue v1 Vue 2
v-tooltip v4 floating-vue v5 Vue 3

💚️ Become a Sponsor

Sponsors


LICENCE MIT - Created by Guillaume CHAU (@Akryum)

About

💬 Easy tooltips, popovers, dropdown, menus... for Vue

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 71.3%
  • Vue 18.0%
  • CSS 6.4%
  • JavaScript 4.3%