@seamly/web-ui 25.2.0-beta.2 → 25.2.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.
@@ -5837,7 +5837,7 @@ class API {
5837
5837
  return {
5838
5838
  clientName: "@seamly/web-ui",
5839
5839
  clientVariant: this.#layoutMode,
5840
- clientVersion: "25.2.0-beta.2",
5840
+ clientVersion: "25.2.1",
5841
5841
  currentUrl: window.location.toString(),
5842
5842
  screenResolution: `${window.screen.width}x${window.screen.height}`,
5843
5843
  timezone: getTimeZone(),
@@ -20618,7 +20618,10 @@ const Chat = (0,compat_namespaceObject.forwardRef)(({
20618
20618
  if (isVisible && layoutMode === 'window') {
20619
20619
  focusTrap.current = createFocusTrap(`#${chatSectionId}`, {
20620
20620
  // We set the initialFocus to false, as the `WindowOpenButton` takes care of that
20621
- initialFocus: false
20621
+ initialFocus: false,
20622
+ // Allow outside clicks to deactive the focus trap, so users can still navigate and use the site they are on
20623
+ // Users for which the focus trap is intended will (usually) not trigger this, and if they do, also intend this to happen
20624
+ clickOutsideDeactivates: true
20622
20625
  });
20623
20626
  focusTrap.current.activate();
20624
20627
  }