How to correctly calculate the coordinates so that the tooltip is always pressed to the bottom and centered of the screen tippy.js?

前端 未结 0 693
梦如初夏
梦如初夏 2020-12-18 04:43

I want to change the location of the tooltip to tippy.js. Here I set the position of the tooltip:

instance.setProps({
        getReferenceClientRect: function         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题