mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
mitigate flickering in note tooltip, #2988
This commit is contained in:
parent
9114b1befb
commit
e6358afb62
@ -59,10 +59,11 @@ async function mouseEnterHandler() {
|
||||
$(this).tooltip({
|
||||
delay: {"show": 300, "hide": 100},
|
||||
container: 'body',
|
||||
placement: 'auto',
|
||||
// https://github.com/zadam/trilium/issues/2794 https://github.com/zadam/trilium/issues/2988
|
||||
// with bottom this flickering happens a bit less
|
||||
placement: 'bottom',
|
||||
trigger: 'manual',
|
||||
boundary: 'window',
|
||||
offset: "0, 20", // workaround for https://github.com/zadam/trilium/issues/2794
|
||||
title: html,
|
||||
html: true,
|
||||
template: '<div class="tooltip note-tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user