This topic contains 11 replies, has 3 voices, and was last updated by Sean Sean 2 years, 8 months ago.

Material design buttons problem in datatables


  • hawkish
    Participant

    Posts: 21
    Member Reply #1174

    Can you fix this behavior?

    I put button inside table cell

     

    If page loaded at first and I try to do sorting, button stays OK then if I click on the button there is a material design effect like water drop, which is also good, but when I try to sort some columns again, although I didn’t press the button(I press thead th) the material effect applies to the buttons that were clicked previously. Also if I open a modal window and press buttons there and open window again, there again this effect even though the button is not pressed.

    I would like to prevent the effect to apply on the buttons when they are not clicked.

    • This topic was modified 2 years, 9 months ago by  hawkish.
    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #1200

    Hi,

    Can you provide a test link to your developing page ? We will need to check your code in order to investigate the issue further.

    Thanks.


    hawkish
    Participant

    Posts: 21
    Member Reply #1204

    Hi,

    You can open Metronic demo for example Advanced datatables, and place a button from Buttons page into a cell with Dev tools. Click on the button once and try to sort any column you will see how button is blinking even though you press on sorting.

    Note that it should be material design page

    • This reply was modified 2 years, 9 months ago by  hawkish.
    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #1222

    Hi :),

    Noted. We will check it further and fix the issue asap.

    Thanks.


    hawkish
    Participant

    Posts: 21
    Member Reply #1474

    Hello,

    Is this issue fixed. I am struggling to fix it.

    Thanks

    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #1485

    Hi,

    Sorry, we haven’t fixed the issue yet. Its still in the queue. We will do our best to attend to this issue asap and try to include the fix in the next update.

    Thanks.


    hawkish
    Participant

    Posts: 21
    Member Reply #1558

    Hi,

    I saw you made an update to version 4.0. But this issue still not fixed. I really need to fix this issue. Please help.

    Thanks.

    Zis
    Zis
    Participant

    Posts: 150
    Support Staff Reply #1561

    Hi,

    We are sorry, unfortunately, the issue has not been fixed yet. We will do our best to attend to this issue and try to include the fix in the future releases.

    To stay updated please follow us on http://twitter.com/keenthemes

    Many Thanks 🙂


    hawkish
    Participant

    Posts: 21
    Member Reply #1562

    Maybe you can point where this Drop Effect is written in the code?

    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #1617

    Hi :),

    Please append below code under “if ($(‘body’).hasClass(‘page-md’)) { ” clause in “handleMaterialDesign” function in metronic.js file:

    setTimeout(function() {
    circle.removeClass(‘md-click-animate’);
    }, 1000);

    This is code will fix the animation play when element gets visible.

    If you need any further clarifications please let us know.

    Thanks.


    hawkish
    Participant

    Posts: 21
    Member Reply #1633

    Thank you very much.

    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #1637

    Hi :),

    You are welcome!

    Thanks.

     

You must be logged in to reply to this topic.