Closed rkbhochalya closed 6 years ago
You can try out my pull request #55. Please share your opinions on it. So far no update from official maintainer.
Fixed in #55. Thanks everyone!
I'm not seeing support for BS4. The modalClass argument ends up colouring the whole background and the title is on the right. Is BS4 support in the roadmap?
It would be nice to have a template override for the HTML of the modal so we could spin our own support and make any mods we want.
Update: I spoke too soon. Updating to 1.5 through NPM has fixed the title issue. modalClass is still applying that class to the outermost div instead of the dialog, but I believe that's intentional. I can work with that.
I tried to use it with Rails 5.1 and Bootstrap 4 but the default alert messages is showing instead of the modal. There are no JS errors in the console. Do you have any plan to support Bootstrap 4 and Rails 5?