Skip to content

Commit 3961d1e

Browse files
docs: some changes missed
1 parent f9782ff commit 3961d1e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/docs/upgrade-guide/changelog-v4-v5.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ If you run into any problems with the tooltip not updating after changes are mad
5050
- [x] `float` - `boolean` - used to achieve V4's `effect="float"`
5151
- [x] `hidden` - `boolean` - when set, the tooltip will not show
5252
- [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`)
5556

5657
## `V4` props available in `V5`
5758

@@ -86,8 +87,8 @@ If you run into any problems with the tooltip not updating after changes are mad
8687
- [x] `afterHide`
8788
- [ ] `overridePosition` - use `position`
8889
- [ ] `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`
9192
- [x] `wrapper` - also available on anchor element as `data-tooltip-wrapper`
9293
- [ ] `bodyMode`
9394
- [x] `clickable`

0 commit comments

Comments
 (0)