From f8d4932a4ad008729e0e73b6a828ed8b21fa2687 Mon Sep 17 00:00:00 2001 From: WesleyEdwards Date: Wed, 13 Mar 2024 14:09:40 -0600 Subject: [PATCH] bug with require click --- .../kotlin/com/lightningkite/rock/views/direct/modifiers.js.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/jsMain/kotlin/com/lightningkite/rock/views/direct/modifiers.js.kt b/library/src/jsMain/kotlin/com/lightningkite/rock/views/direct/modifiers.js.kt index a4c59d32..c9d5d2a6 100644 --- a/library/src/jsMain/kotlin/com/lightningkite/rock/views/direct/modifiers.js.kt +++ b/library/src/jsMain/kotlin/com/lightningkite/rock/views/direct/modifiers.js.kt @@ -154,7 +154,7 @@ actual fun ViewWriter.hasPopover( existingDismisser = dismisser document.body!!.insertBefore(dismisser, existingElement) }) - if(requireClick) { + if(!requireClick) { this.onmouseenter = { makeElement() }