Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite Scroll - Whats App Not Visible #93

Open
ilgityildirim opened this issue Jul 20, 2017 · 1 comment
Open

Infinite Scroll - Whats App Not Visible #93

ilgityildirim opened this issue Jul 20, 2017 · 1 comment

Comments

@ilgityildirim
Copy link
Contributor

ilgityildirim commented Jul 20, 2017

Ticket: #2081
When infinite scroll kicks in and other posts are loaded on the page, WhatsApp is not visible.

@rene-hermenau
Copy link
Contributor

Please give her the following custom js:

$( window ).scroll(function() {
    /* Show Whatsapp button */
    if(navigator.userAgent.match(/(iPhone)/i) || navigator.userAgent.match(/(Android)/i)){
        $('.mashicon-whatsapp').show(); 
    }
});

I think its simpler to give her the code above for integration into instead implementing it as a fix into MashShare because it would affect performance for all users.
What are your thoughts about performance and the scrolling event?
Do you have any other idea how to fix this more generally?
I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants