@helpwave/hightide 0.11.0 → 0.11.1

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/index.mjs CHANGED
@@ -10626,7 +10626,7 @@ var useFocusTrap = ({
10626
10626
  setPaused(true);
10627
10627
  }, unpause = function() {
10628
10628
  setPaused(false);
10629
- if (!container.current.contains(document.activeElement)) {
10629
+ if (container.current && !container.current.contains(document.activeElement)) {
10630
10630
  focusElement();
10631
10631
  }
10632
10632
  }, focus = function() {