From 5d24e21aa4ec234d51258b0741543b38c233c542 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 17 May 2026 00:36:07 -0700 Subject: Fix click receivers: visibility:hidden instead of display:none display:none removes elements from React's event processing, causing JS-dispatched input events to be silently dropped. Switching to visibility:hidden + height:0 keeps the inputs in the React tree so programmatic value changes trigger reruns correctly. Also covers the new qt_click_receiver for the quotetable. Co-Authored-By: Claude Sonnet 4.6 --- app.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index c9f36a7..e87482d 100644 --- a/app.py +++ b/app.py @@ -404,9 +404,15 @@ hr { ::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--ink-4); } -/* Hide the watchlist click receiver input */ -[data-testid="stSidebar"] [data-testid="stTextInput"]:has(input[aria-label="wl_click_receiver"]) { - display: none !important; +/* Hide click receiver inputs without removing them from React's event system */ +[data-testid="stSidebar"] [data-testid="stTextInput"]:has(input[aria-label="wl_click_receiver"]), +[data-testid="stTextInput"]:has(input[aria-label="qt_click_receiver"]) { + visibility: hidden !important; + height: 0 !important; + min-height: 0 !important; + overflow: hidden !important; + margin: 0 !important; + padding: 0 !important; } /* ── Ticker Header Band ──────────────────────────────────────────────────── */ -- cgit v1.3-2-g0d8e