From 9da4061737624efa44f5a3039baa34c8864b896c Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Mon, 6 Jan 2025 14:34:57 -0800 Subject: [PATCH] add spacer to avoid initial hover --- tests/integration/tests_playwright/test_link_hover.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/tests_playwright/test_link_hover.py b/tests/integration/tests_playwright/test_link_hover.py index efbf64013..9510bd358 100644 --- a/tests/integration/tests_playwright/test_link_hover.py +++ b/tests/integration/tests_playwright/test_link_hover.py @@ -13,12 +13,13 @@ def LinkApp(): def index(): return rx.vstack( + rx.box(height="10em"), # spacer, so the link isn't hovered initially rx.link( "Click me", href="#", color="blue", _hover=rx.Style({"color": "red"}), - ) + ), ) app.add_page(index, "/")