AlpineJS Focus Modal
This AlpineJS plugin helps with focus-trap problems of modals. When you are opening a modal the focus will be moved to the first focusable element and the focus will be trapped into the modal.
From CDN: Add the following script to the end of your or section.
From NPM: Install the package from NPM.
Copyright © 2020 Vaggelis Yfantis and contributors
Licensed under the MIT license, see LICENSE for details.