djibe / material

Material Design 2 for Bootstrap 4 (active fork of Daemonite Material)
https://djibe.github.io/material/
MIT License
68 stars 11 forks source link

Cannot type in input field of type text in modal #26

Closed dipan66 closed 3 years ago

dipan66 commented 3 years ago

I created a standard modal with a text input field.

I used $("#searchmodal").modal("show") from a nav drawer link click event to render the modal. It renders fine - but I just cant seem to be able to click on the input box and type anything. Also, every time I click on the input box, I get the following jquery error

Uncaught InternalError: too much recursion jQuery 3 _enforceFocus nav-drawer.js:158 jQuery 5 _enforceFocus modal.js:326 dispatch jQuery

What can I be doing wrong here? Should the modal and nav drawer not be open at the same time?

dipan66 commented 3 years ago

Ah well - yes - nav drawer and modal cant be open at the same time. Closing the issue since this is obviously a BS4 limitation and nothing to do with the excellent framework provided by @djibe

djibe commented 3 years ago

Hi, very good news :D

Every bug report is a good thing. Thanks for using this work.