atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.91k stars 518 forks source link

tippy.setDefaultProps doesn't work on followCursor #982

Closed BabyDead closed 2 years ago

BabyDead commented 2 years ago
        tippy.setDefaultProps(
                {
                    'appendTo': document.body,
                    'delay':   125,
                    'followCursor': 'initial',
                }
        );

        tippy('.passwordTooltip', {
            'content': "I'm a tippy tooltip",
            // 'followCursor': 'initial',
        });

The above example doesn't work.

Uncommenting the direct one works straight away, but setting the default seems to get ignored. The 'delay' property works fine, but the 'followCursor' property gets ignored entirely.