Topic: Fixed button does not trigger modal

RoffDaniel pro asked 5 years ago


Hey. There is a question about the pinned button. It is why a non-modal. That is, the modal does not appear. Here is the code:

<div class="fixed-action-btn smooth-scroll" style="bottom: 20px; right: 24px;">
<a type="button" class="btn blue-gradient btn-rounded text-white" data-toggle="modal" data-target="#ContactModal"><i class="fas fa-question-circle mr-2"></i>Есть вопросы?</a>
</div>

Advance thanks.


Ollie Vincent pro answered 5 years ago


Hi, Can you try this code: $(document).ready(function () { $('.fixed-action-btn').unbind('click'); }); You are basically telling the fixed button to allow external URL's. Even though a modal isn't a external url's it might do the trick. Thanks

RoffDaniel pro commented 5 years ago

Thans a lot!

FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags