Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Fix mentions to old ‘touchHold’ prop, which has been replaced with the ‘touch’ prop in version 6 #1062

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/integration/createTippy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ describe('instance.setProps()', () => {
expect(instance.popper._tippy).toBe(instance);
});

it('changing `trigger` or `touchHold` changes listeners', () => {
it('changing `trigger` changes listeners', () => {
const ref = h();
instance = createTippy(ref, defaultProps);

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/v6/misc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ click event.
Depending on your use case, one of these will be preferred, so user agent
checking may be needed.

If neither behavior is preferred, consider using the `touchHold` prop which
If neither behavior is preferred, consider using the `touch` prop which
allows the user to see the tooltip while pressing and holding the button, but
won't fire a click event unless the click appears to be intentional.

Expand Down