Skip to content
Discussion options

You must be logged in to vote

I made the following changes to the application.js file and I could run it now but firefox and chromium browsers show different issues at the console.

I can open and close the Modal at Firefox but with Chromium, once I open and close it, I can't reopen it.

import "@hotwired/turbo-rails"
import "controllers"

import ui from "@alpinejs/ui"
import focus from "@alpinejs/focus"
import Alpine from "alpinejs"
window.Alpine = Alpine

Alpine.plugin(ui)
Alpine.plugin(focus)

document.addEventListener("DOMContentLoaded", function(event) {
window.Alpine.start();
});

System details

$ cat /etc/issue
Ubuntu 20.04.4 LTS \n \l

Firefox screenshot

Chromium screenshot

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kirantpatil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant