Automatically create a hitbox for focusable elements (#9485)
Closes #9462 This fixes the focus story in the storybook. Release Notes: - N/A
This commit is contained in:
@@ -1307,6 +1307,7 @@ impl Interactivity {
|
||||
|| self.has_hover_styles()
|
||||
|| self.has_mouse_listeners()
|
||||
|| self.scroll_offset.is_some()
|
||||
|| self.tracked_focus_handle.is_some()
|
||||
{
|
||||
Some(cx.insert_hitbox(bounds, self.occlude_mouse))
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user