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 viatoggleBodyClass
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
This fork uses
<pre-release>
verison under the identifierholistics
to preserve changes between forked versions. For example,5.2.2-holistics.1
means:
5.2.2
is the version that was forkedholistics
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
):
-
Use
git merge upstream/main --no-commit
and resolve conflicts if have any -
Bump to the latest version in
packages/floating-vue/package.json
(e.g.5.9.0-holistics.0
) -
Add a new CHANGELOG entry
-
Commit the changes
-
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/
Easy tooltips, dropdowns, menus... with Floating UI
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 |
LICENCE MIT - Created by Guillaume CHAU (@Akryum)