Git Product home page Git Product logo

Comments (2)

sunil-digicorp avatar sunil-digicorp commented on August 13, 2024

Thank you for bringing this to our notice. Ideally ripple effect should not be there in the FAB button but somehow it remained in our code.

We are sorry for that. Please remove "pmd-ripple-effect" class from the button code.

Still if you need the ripple effect in your button element, here is the fix:

$(".pmd-floating-action-btn.pmd-ripple-effect").on('mousedown touchstart', function() {
    $(this).css('overflow', 'hidden');
    setTimeout(function(){ 
        $(".pmd-floating-action-btn.pmd-ripple-effect").removeAttr("style");
    }, 500);
})

Add above function in your template.

Hope this will help.

from propeller.

niklr avatar niklr commented on August 13, 2024

I actually like the ripple effect in the Floating Action Button (FAB). However, the mouse location is not used as starting point in some cases.

See GIF: https://i.imgur.com/cLwD61t.gifv

Do you still recommend not using the ripple effect on FAB buttons?

from propeller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.