Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.
Jump to
Jump to file
Failed to load files.
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