Skip to content

Releases: EinsCMS/eins-modal

🚨 Hotfix - 2.2.2

16 Sep 19:39
85b2143
Compare
Choose a tag to compare
  • Updated README
  • Fixed imports in minified files

🚨 Hotfix - 2.2.1

08 Aug 19:42
ac917bc
Compare
Choose a tag to compare

Fixed window.onload event attachment

EinsModal 2.2.0 🥳

26 Jul 22:33
78aefff
Compare
Choose a tag to compare
  • ✨ Initializes with window.onload

    EinsModal now initializes all elements like buttons and modals with window.onload, means after the DOM is rendered and ready.
    The location of the script tag is no longer important.

EinsModal 2.1.0 🥳

30 Jun 17:38
6fe68b1
Compare
Choose a tag to compare
  • ✨ New EinsModal "plain" mode

    • EinsModal without any animations

      If you want a smaller file size and don't need any animations you can now use eins-modal-plain.
      You can learn more on how to use EinsModal without animations here.

EinsModal 2.0.0 🥳

28 Jun 20:53
53a2caf
Compare
Choose a tag to compare

Changes from 1.1 to 2.0

  • 🚨 Breaking Changes

    Follow the instructions in Upgrade from 1.1 to 2.0, if you used version 1.1 before.

  • ✨ New functionality

    • Multi-Modal-Functionality

      Now you can open multiple Modals on top of each other without closing the current open one.
      If you want to disable that functionality you can use the multiple option.
    • Queue

      EinsModal now has a action queue build in.
      That means it executes the close and open commands in order.
    • Dialog

      You can now open a new modal after closing one, without using any custom javascript!
    • EinsModal object (NPM)

      The EinsModal Object now provides many new handy methods!
    • Global object

      The Global Object now provides many new handy methods!
    • Fill Scrollbar Gap

      When EinsModal opens a modal, it disables the scroll-ability of the body.
      That sometimes leads to not wanted flickering.
      You can fix that by using the new fill-scrollbar-gap class.
  • ⚙️ New Options

    • multiple

      With option is true by default.
      By setting it to false you can disable the Multi-Modal-Functionality.
      multiple documentation
    • wait

      With option is false by default.
      By setting it to true you can enforce that an open actions will wait until after a close action occurred.
      wait documentation
  • 🌈 Enhancements

    • Mobile scrolling

      If content within the modal is scrollable. It will be scrollable on mobile devices too!

🚨 Hotfix - 1.1.8

20 Jun 06:15
ee1da67
Compare
Choose a tag to compare
  • Fixed ModuleNotFoundError when using scss

🚨 Hotfix - 1.1.7

20 Jun 05:01
afbd7e5
Compare
Choose a tag to compare
  • Fixed jump to top of modal when hiding scrollbar

🚨 Hotfix - 1.1.6

20 Jun 04:20
60e5c4f
Compare
Choose a tag to compare
  • Fixed jump to previous scroll position if modal is scrollable and reopened

🚨 Hotfix - 1.1.5

20 Jun 03:18
95424bb
Compare
Choose a tag to compare
  • Fixed bug where modal was partially not visible because of overflow

🚨 Hotfix - 1.1.4

20 Jun 02:45
3d4afba
Compare
Choose a tag to compare
  • Fixed bug with box sizing of close icon.

    It has to be set to content-box or the icon will look weird.