From ccdf147c6a7719769a7e36d3e3c7c15d4c5a37c4 Mon Sep 17 00:00:00 2001 From: Vadym Shchekotilin <86330150+vashjs@users.noreply.github.com> Date: Wed, 23 Oct 2024 09:20:00 +0200 Subject: [PATCH] STCOM-1341Change Repeatable fields component's focus behaviour (#2371) --- CHANGELOG.md | 1 + lib/RepeatableField/RepeatableField.js | 12 ++++++-- lib/RepeatableField/RepeatableFieldContent.js | 7 ++--- .../hooks/useIsElementFocused.js | 30 +++++++++++++++++++ 4 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 lib/RepeatableField/hooks/useIsElementFocused.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ced1665b..36caaff1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -54,6 +54,7 @@ * Export `` that will automatically apply the `usePortal` behavior to nested overlay components. Refs STCOM-1353. * Properly pass `readOnly` prop to ``'s internally rendered `