New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modal.leanModal({dismissible:false}) does not work: tested #1464
Comments
the open function allows you to pass in different options. The leanModal call is for setting up a trigger and is not meant to be called on the modal itself. http://codepen.io/Dogfalo/pen/qdrBev |
Please update the documentation to reflect this. |
Ran into this too, please update documentation. It's very unintuitive, I'd even call for a design change, such that calling |
Is it possible to set "ready" and "complete" callback functions of the modal, without opening the modal ? |
The problem is with including jquery. if you have 2 jquery included while setting no conflict to $ use jQuery 2.1X.x and it will work for you ! include in following order src="https://code.jquery.com/jquery-2.1.4.min.js"></script> Hope this will help you |
Thanks @erBhushanPawar! My mistake is including materializecss.js before jquery and I have a lot of problems - not working modals, toasts etc... You save my day! |
hey guys. I've got a serious problem with modals. it doesnt' respond. I've initialised and done the coding - a copy and paste from the website- but it still doesnt work. Please could some one just post the code to include in my js file. i think that is where my prob is. |
also make sure that you have addressed previous solution too |
thanks a lot @erBhushanPawar. But just one more question. i"ld like to call this function onclick(an image for example). this code runs from when my tab loads. |
Oh. I got it!!!. Thanks again. |
@Dogfalo Could you please add it back to the documentation? Why was it taken out again? It's important to know that |
There is no more Also does anyone else has problems with opening modals programatically using the |
@dbr0 Dude, I think they have adapted bootstrap method this time. I hope this document will help you http://www.w3schools.com/bootstrap/bootstrap_ref_js_modal.asp |
@erBhushanPawar Using |
Not working on clicking on browser back button. Still the modal '.modal-overlay' exist on DOM. |
issue #1239 is valid.
tested and demonstrated here: http://codepen.io/anon/pen/oXBKeg
using example copied from: http://materializecss.com/modals.html
OSX Yosemite / Chrome
Version 43.0.2357.81 (64-bit)
OSX Yosemite / Firefox
Version 38.0.1
The text was updated successfully, but these errors were encountered: