From 985c2e1dd3642e3087aa0555a3c3ae4ea182b099 Mon Sep 17 00:00:00 2001 From: Shrinidhi Upadhyaya Date: Sat, 7 Sep 2024 12:21:31 +0200 Subject: [PATCH] fix(input): added hover and focus to input when label placement is outside-left #2328 (#2958) * fix(range-calendar): hide only dates outside the month #2890 * fix(range-calendar): corrected spelling mistake in changeset description * fix(range-calendar): corrected capitalization in changeset description * fix(input): added hover and focus to input when label placement is outside-left #2328 * fix(input): label props mergeProps precedence change --------- Co-authored-by: shrinidhi.upadhyaya --- .changeset/lucky-schools-travel.md | 5 +++++ packages/components/input/src/use-input.ts | 24 +++++++++++++++------ packages/core/theme/src/components/input.ts | 2 +- 3 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 .changeset/lucky-schools-travel.md diff --git a/.changeset/lucky-schools-travel.md b/.changeset/lucky-schools-travel.md new file mode 100644 index 0000000000..b736c9c07e --- /dev/null +++ b/.changeset/lucky-schools-travel.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/input": patch +--- + +Fixed hover and focus of input when label placement is outside-left (#2328) diff --git a/packages/components/input/src/use-input.ts b/packages/components/input/src/use-input.ts index 8e43f26b03..256c75b8ec 100644 --- a/packages/components/input/src/use-input.ts +++ b/packages/components/input/src/use-input.ts @@ -208,6 +208,10 @@ export function useInput