Skip to content

Safari: Ripple will immediately halt its animation if click triggers href navigation #13

@adamck

Description

@adamck

Works correctly in latest Chrome and Firefox, OS X, but fails in Safari 10 and 11.

Chrome: https://cl.ly/1O2L360W2P0y
Safari 11: https://cl.ly/0s0i152Q0X2Y

In the Safari screen cap you can't see the ripple begin but it does appear and begins growing for as long as you hold the mouse down. Then it stops and the page navigation occurs.

These menu items are <li class="menu-item">s with child anchor tags. The effect is initiated on the <li>s with:
$('.menu_wrap .menu-item').ripple();

Unfortunately there's nothing I can do about the markup structure. The links have to remain <a href=""> -- otherwise I'd perform the page nav via JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions