MaterializeCSS modals won’t open? Initialize them in vanilla JavaScript
MaterializeCSS v1 modals need M.Modal.init() after the DOM loads; markup and data attributes alone won't open the overlay.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
MaterializeCSS v1 modals need M.Modal.init() after the DOM loads; markup and data attributes alone won't open the overlay.
Learn how to choose between Swiper’s bullets, fraction, progressbar, or custom pagination based on UI space, feedback needs, and accessibility work, with a ready‑to‑run example and verification steps.
Goal: show a useful alert only once per successful request without creating notification spam. When an hx-trigger event fires a click or load, the same element may be swapped repeatedly by hx-swap, which replaces the target’s innerHTML and can remove or duplicate the alert container, causing missed or noisy messages. The precise uncertainty is whether htmx p