All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History
Page 1

  • v4.0.2 Changes

    • โšก๏ธ Update peer dependencies for React 17 (#127)
    • ๐Ÿ’… Changed cursor in dialogStyle to auto (#124)
    • ๐Ÿ‘Œ Improve Documentation (#104)
  • v4.0.1 Changes

    • ๐Ÿšš Move componentWillMount content to constructor to avoid deprecation message.
    • โšก๏ธ Update @babel/preset-env to v7.15.0 to remove browserslist update message.
    • โšก๏ธ Update focus-trap-react package to v8.1.0.
  • v4.0.0 Changes

    • โšก๏ธ Update focus-trap (via focus-trap-react), which now includes better handling for nested focus traps (including nested modals).
    • ๐Ÿ›  Fix bug causing underlay click not to exit when clicked if scrollDisabled is set to false.
    • ๐Ÿ‘ Allow escapeExits prop to be toggled while the component is mounted (i.e. without unmounting & remounting).
  • v3.1.0 Changes

    • onExit now receives the event that triggered it as its only argument, should you need to stop the event's propagation or treat it differently.
  • v3.0.1 Changes

    • ๐Ÿ›  Fix bug causing click on the scrollbar (visible because the modal vertically overflows the viewport) to close the modal.
  • v3.0.0 Changes

    • Update focus-trap (via focus-trap-react), which includes a couple of behavior changes. Probably this should not change behavior for your use case. The key change is that focus management has been adjusted so that you can include tricky focusable elements like radio groups, iframes, and shadow DOM components within your modal โ€” as long as the first and last focusable elements in the modal can still be detected by Tabbable.
      • An effect of this change is that positive tabindexes within the modal might no longer work as expected. You should avoid positive tabindexes.
  • v2.12.3 Changes

    • 0๏ธโƒฃ Use onMouseDown instead of onClick to detect a tap on the underlay, which by default closes the modal. This fixes a bug where the modal would close if you click inside it then drag outside before releasing the mouse key.
  • v2.12.2 Changes

    • ๐Ÿ›  Fix bug causing Escape to break the focus trap, without closing the modal, when you use escapeExits={false}.
  • v2.12.1 Changes

    • Fix bug that was blocking changes to the scrollDisabled prop while the modal is open.
  • v2.12.0 Changes

    • โž• Add focusTrapOptions prop to pass options to the focus trap.