@brightspot/ui 6.0.7-pr.242 → 6.0.7-pr.247

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2068,6 +2068,10 @@ onFind('.ActionBar', (actionBar) => {
2068
2068
  const target = event.target
2069
2069
  if (!(target instanceof HTMLElement)) return
2070
2070
 
2071
+ // Skip focus re-fires that don't move focus (e.g. window refocus) and
2072
+ // editable regions, which manage their own caret scrolling.
2073
+ if (!(event as FocusEvent).relatedTarget || target.isContentEditable) return
2074
+
2071
2075
  requestAnimationFrame(() => {
2072
2076
  const targetRect = target.getBoundingClientRect()
2073
2077
  if (