@primer/behaviors 0.0.0-20251215032051 → 0.0.0-20251215033125
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.
package/dist/cjs/focus-zone.js
CHANGED
|
@@ -338,6 +338,7 @@ function focusZone(container, settings) {
|
|
|
338
338
|
signal.addEventListener('abort', () => {
|
|
339
339
|
observer.disconnect();
|
|
340
340
|
endFocusManagement(...focusableElements);
|
|
341
|
+
focusableElements.clear();
|
|
341
342
|
});
|
|
342
343
|
let elementIndexFocusedByClick = undefined;
|
|
343
344
|
container.addEventListener('mousedown', event => {
|
package/dist/esm/focus-zone.mjs
CHANGED
|
@@ -336,6 +336,7 @@ function focusZone(container, settings) {
|
|
|
336
336
|
signal.addEventListener('abort', () => {
|
|
337
337
|
observer.disconnect();
|
|
338
338
|
endFocusManagement(...focusableElements);
|
|
339
|
+
focusableElements.clear();
|
|
339
340
|
});
|
|
340
341
|
let elementIndexFocusedByClick = undefined;
|
|
341
342
|
container.addEventListener('mousedown', event => {
|