5.0.0-beta.6 (2026-10-10)
Bug Fixes
- #424 (f2a86b9)
- also lock the scroll container a modal is rendered in (7300e21)
- apply useModal props and emits given as a getter (4ce8b9b)
- drop a modal that unmounts while open from the overlay registry (3745b2a)
- finish opening a modal whose overlay is hidden while it fades in (4757c7e)
- give an inline overflow-y back to the scroll container on close (ba520f7)
- hydrate a server-rendered open modal already open, with its z-index (6c0431b)
- import defineNuxtPlugin from #imports in the Nuxt runtime plugin (a286093)
- keep a scroll container two modals share locked for the last one (05bd227)
- keep the internal events out of VueFinalModalEmits (b4f4e61)
- keep UseModal's model value wiring over the user's props and emits (44bf483)
- keep what a server render registers per request (691036a)
- leave Escape to escToClose instead of focus-trap's escapeDeactivates (cfad77f)
- let the overlay and the content transitions finish independently (b59d51c)
- make the UMD build usable from a CDN (8d9f802)
- merge the focusTrap prop over vfm's own focus-trap defaults (19c5ac6)
- NestedModal example still used the removed useModal second argument (a5c0d6d)
- never activate the focus trap of a modal closed before its first frame (ceeaae1)
- order the runtime plugin imports for import/order (b543b5c)
- raise the vue peer range to >=3.3.0 (223609b)
- render modals opened during setup into the server HTML (c10b4d1)
- resolve open() right away when the modal was created during a server render (2c78352)
- resolve vfm.open() and vfm.close() right away when nothing changes (6a0b428)
- resolve vfm.open(), close() and toggle() with the right result (357d693)
- settle open() and close() when beforeOpen or beforeClose stops them (001a08d)
- settle pending promises when a modal is destroyed mid-transition (2e93ad8)
- settle promises of a modal that is closed before it finished opening (02f821c)
- settle the open() or close() promise that another close or open overtook (9773238)
- show a modal opened outside a component once the app has mounted (6c01748)
- skip a modal on the server through useTemplate().ignored (add3410)
- tell a server that polyfills window apart with isBrowser() (c0840b7)
- tell hydration apart from a vnode mounted again on the client (c554587)
- type the Nuxt runtime plugins instead of leaving them any (03eed01)
- warn instead of throwing when open() runs outside any app context on the server (652eba6)
Features
- auto-import the components and composables in Nuxt (c002fd9)
- export markServer from vue-final-modal (84a54a1)
- mark the Nuxt server for vue-use-template (8cf9145)
- ship the Nuxt module as vue-final-modal/nuxt (0606ef4)
Performance Improvements
- stop re-rendering open modals when another modal opens or closes (1bcd945)