@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamly/web-ui",
3
- "version": "25.2.0-beta.2",
3
+ "version": "25.2.1",
4
4
  "main": "build/dist/lib/index.js",
5
5
  "types": "build/src/javascripts/index.d.ts",
6
6
  "exports": {
@@ -60,6 +60,9 @@ const Chat = forwardRef<
60
60
  focusTrap.current = createFocusTrap(`#${chatSectionId}`, {
61
61
  // We set the initialFocus to false, as the `WindowOpenButton` takes care of that
62
62
  initialFocus: false,
63
+ // Allow outside clicks to deactive the focus trap, so users can still navigate and use the site they are on
64
+ // Users for which the focus trap is intended will (usually) not trigger this, and if they do, also intend this to happen
65
+ clickOutsideDeactivates: true,
63
66
  })
64
67
  focusTrap.current.activate()
65
68
  }