Fixed button doesnt work


Topic: Fixed button doesnt work

Kneidels pro asked 6 years ago

Hi

i have the following fixed button on my page. I realized now, that after the update to 4.6 probably - it stopped working. you click on tl, and it just does the waves animation, but no trigger to the href at all. just stays on the same page

this is the code:

<div class="fixed-action-btn" style="bottom: 25px; right: 24px;">
    <a href="/entry" class="btn-floating btn-large blue  waves-effect">
        <i class="material-icons">add</i>
    </a>
</div>

What could the reason be?

I seem to remember an old issue, but was sure it had been fixed.

Thanks


Marta Szymanska staff pro premium answered 6 years ago

Hi,

try code from this snippet: https://mdbootstrap.com/snippets/jquery/marta-szymanska/304941.

Best,

Marta


Kneidels pro commented 6 years ago

Thanks, but that's not my setup at all. i dont need the popup ones. What about my snippet i gave above?

here is anbother: https://mdbootstrap.com/snippets/jquery/moshe/427296


Bartłomiej Malanowski staff pro premium answered 6 years ago

I've just checked with MDB Pro 4.6.0 and it seems to work even with Material Icons. Please check my snippet


Kneidels pro commented 6 years ago

But the link does not work! Did you try click on the button?


Bartłomiej Malanowski staff pro premium commented 6 years ago

The "broken" href is a bug that will be fixed in the nearest future


Kneidels pro commented 6 years ago

Thank you - this is VERY SERIOUS bug... that essentially means that the button is useless, as it cannot do anything... I mentioned this bug months ago, and am so suprised it hasnt been fixed yet!


Bartłomiej Malanowski staff pro premium commented 6 years ago

The issue is already on our TODO list so this will be fixed soon


Kneidels pro commented 6 years ago

Did this get fixed with the new release of 4.7.5?


Markus W commented 5 years ago

Now that's really unbelievable that you don't fix this serious bug - can you imagine how much time it costs for your customers to figure out why a href does not work when it is styled as a button?? We are waiting for this since 2 years - two! We don't need features but we need a working CSS framework


Marta Szymanska staff pro premium answered 6 years ago

Hi,

this has not been fixed in the previous release because we focused on improving the admin dashboard template. But we will fix that bug with a button for sure soon.

Best, Marta


Kneidels pro answered 6 years ago

As per Marta's private response, this should work:

https://mdbootstrap.com/snippets/jquery/marta-szymanska/597199


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.0
  • Device: PC
  • Browser: Firefox
  • OS: WIN10
  • Provided sample code: No
  • Provided link: No