We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4463a commit 3d825d1Copy full SHA for 3d825d1
web_src/js/modules/tippy.js
@@ -3,6 +3,8 @@ import tippy from 'tippy.js';
3
const visibleInstances = new Set();
4
5
export function createTippy(target, opts = {}) {
6
+ // the callback functions should be destructured from opts,
7
+ // because we should use our own wrapper functions to handle them, do not let the user override them
8
const {onHide, onShow, onDestroy, ...other} = opts;
9
const instance = tippy(target, {
10
appendTo: document.body,
0 commit comments