Topic: Bottom Sheet Modal is not working

kiran free asked 7 years ago


Hi MDB Team, I really like very much about your work. just Im trying to use Bottom Sheet Modal in one of my website but is not working Code:
<!-- Modal Trigger -->
        <button type="button" class="waves-effect waves-light btn btn-default modal-trigger" href="#modal1">Click me</button>
    
        <!-- Modal Structure -->
        <div id="modal1" class="modal fade">
            <div class="modal-dialog modal-lg">
                
                <div class="modal-content">
                <h4 class="text-center">Modal Header</h4>
                <div class="container-fluid">
                    <ul class="collection">
                        <li class="collection-item avatar">
                            <img src="http://0.gravatar.com/avatar/60efa32c26a19f3ed2e42798afb705ba?s=100&d=mm&r=g" alt="" class="circle">
                            <span class="title">Title</span>
                            <p>First Line
                                <br> Second Line
                            </p>
                            <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
                        </li>

                        <li class="collection-item avatar">
                            <i class="material-icons circle red">play_arrow</i>
                            <span class="title">Title</span>
                            <p>First Line
                                <br> Second Line
                            </p>
                            <a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="modal-footer">
                <a href="#!" data-dismiss="modal1" class="btn btn-danger modal-action modal-close">Close</a>

            </div>
            </div>
        </div>

Dawid Adach pro answered 7 years ago


Daniel, Regarding your question about Free vs PRO. Some of the elements will be there as they are core bootstrap elements either (i.e. tabs), however they won't have Material Design look. Coming back to your Bottom Sheet Modal issue - could you please share code here? Dawid

Daniel pro answered 7 years ago


I can confirm, that after purchasing the PRO mdb, this works. Just trying to figure out how to make it closed by default, as now, it's open by default Also, wondering if I still need the "basic" stuff, or if the mdb-pro.js (example) is enough? I downloaded the PRO mdb folder, enqueued. Is that enough? Thank you ...

Daniel pro answered 7 years ago


sorry but I am confused. While it is true that bottom modal is not working, almost all other elects you list in the premium section are working on my end even if I do not have any premium stuff. As example: toasts, loader graphics, progress bar, pop out accordion, tabs... all is working! So, my doubt, what is the "rule" here? :)

Michal Szymanski staff answered 7 years ago


Hello, thank you very much for such a kind words. About your problem - Bottom Sheet Modal is part of MDB Pro version and I suppose, you use MDB Free. Here you can find full list of component for version Free and Pro: http://mdbootstrap.com/product/material-design-for-bootstrap-pro/#mdb-pro If you have any question - ask me:) Best Regards and good luck with your projects! Michal

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No