Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 05ac759

Browse files
committed
feat: increase LOADER_DELAY to reduce UI jitter
1 parent 4b7cf82 commit 05ac759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hoverifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ const internalToExternalState = (internalState: InternalHoverifierState<{}>): Ho
261261
})
262262

263263
/** The time in ms after which to show a loader if the result has not returned yet */
264-
export const LOADER_DELAY = 300
264+
export const LOADER_DELAY = 1200
265265

266266
/** The time in ms after the mouse has stopped moving in which to show the tooltip */
267267
export const TOOLTIP_DISPLAY_DELAY = 100

0 commit comments

Comments
 (0)