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);