From 8ddebebd7695ce785a8fb1c197306bc7e619eb37 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Thu, 26 Oct 2023 23:32:09 +0200 Subject: [PATCH] fix --- crates/components/src/input.rs | 1 - crates/core/src/events.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/components/src/input.rs b/crates/components/src/input.rs index 18df95ade..a77c32e04 100644 --- a/crates/components/src/input.rs +++ b/crates/components/src/input.rs @@ -190,7 +190,6 @@ pub fn Input<'a>(cx: Scope<'a, InputProps<'a>>) -> Element { render!( rect { - width: "{width}", height: "{height}", direction: "vertical", diff --git a/crates/core/src/events.rs b/crates/core/src/events.rs index c20779439..346117511 100644 --- a/crates/core/src/events.rs +++ b/crates/core/src/events.rs @@ -201,7 +201,7 @@ fn measure_dom_events( *node_id, element_id, &request_event, - Some(areas.area), + Some(areas.visible_area()), scale_factor, ); new_events.push(event);