diff --git a/src/flash.js b/src/flash.js index e464f81..4a4d84e 100644 --- a/src/flash.js +++ b/src/flash.js @@ -9,7 +9,13 @@ module.exports = () => { if (messages.length === 0) continue; for (const message of messages) { if (type === 'custom' && typeof message === 'object') { - steps.push(message); + // render any full screen alerts immediately + // eslint-disable-next-line max-depth + if (message.grow === 'fullscreen') { + Swal.fire(message); + } else { + steps.push(message); + } } else if (typeof message === 'string') { steps.push({ title: