Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client/dropdown): tooltip flickering due to child elements
Elian Doranf7955a9040d1
diff --git a/apps/client/src/widgets/react/Dropdown.tsx b/apps/client/src/widgets/react/Dropdown.tsxindex 5416e38ac3..dec0660c06 100644--- a/apps/client/src/widgets/react/Dropdown.tsx+++ b/apps/client/src/widgets/react/Dropdown.tsx@@ -117,8 +117,8 @@ export default function Dropdown({ id, className, buttonClassName, isStatic, chiaria-expanded="false"id={id ?? ariaId}disabled={disabled}- onMouseOver={() => showTooltip()}- onMouseLeave={() => hideTooltip()}+ onMouseEnter={showTooltip}+ onMouseLeave={hideTooltip}{...buttonProps}>{text}