You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/upgrade-guide/changelog-v4-v5.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,9 @@ If you run into any problems with the tooltip not updating after changes are mad
50
50
-[x]`float` - `boolean` - used to achieve V4's `effect="float"`
51
51
-[x]`hidden` - `boolean` - when set, the tooltip will not show
52
52
-[x]`render` - `function` - can be used to render dynamic content based on the active anchor element (check [the examples](../examples/render.mdx) for more details)
53
-
-[x]`closeOnScroll` - `boolean` - when set, the tooltip will close when scrolling anywhere on the window
54
-
-[x]`closeOnResize` - `boolean` - when set, the tooltip will close when resizing the window
53
+
-[x]`closeOnEsc` - `boolean` - when set, the tooltip will close after pressing the escape key
54
+
-[x]`closeOnScroll` - `boolean` - when set, the tooltip will close when scrolling anywhere on the window (same as V4's `scrollHide`)
55
+
-[x]`closeOnResize` - `boolean` - when set, the tooltip will close when resizing the window (same as V4's `resizeHide`)
55
56
56
57
## `V4` props available in `V5`
57
58
@@ -86,8 +87,8 @@ If you run into any problems with the tooltip not updating after changes are mad
86
87
-[x]`afterHide`
87
88
-[ ]`overridePosition` - use `position`
88
89
-[ ]`disable`
89
-
-[]`scrollHide` - can be implemented if requested
90
-
-[]`resizeHide` - can be implemented if requested
90
+
-[x]`scrollHide` - renamed to `closeOnScroll`
91
+
-[x]`resizeHide` - renamed to `closeOnResize`
91
92
-[x]`wrapper` - also available on anchor element as `data-tooltip-wrapper`
0 commit comments