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

Fix intersection button send #109

Merged

Conversation

guastallaigor
Copy link
Contributor

In my opinion something is wrong right now with the button fixed, using the Intersection API (ref #107 #94). At my environment, it only works on the first scroll and every two full page scrolls after that.

This PR changes the logic a bit to make it work all the time.

Right now:

screencast-liyasthomas github io-2019 08 30-09-31-02

After this PR:

screencast-localhost-3000-2019 08 30-09-35-06

@TravisBuddy
Copy link

Hey @guastallaigor,
Your changes look good to me!

View build log

TravisBuddy Request Identifier: 96e56cf0-cb24-11e9-81b8-6fab94e294e1

@izerozlu
Copy link
Contributor

@guastallaigor Your changes look a better way to to implement the feature.

But i couldn't get it worked on the firefox. That should be the problem. I was working on firefox when i was implenting it and it was working fine. I suppose we should find the way for it to work in both in your environment and my environment. But for now your way looks better and also works in chrome. So i'll merge in yours.

@izerozlu izerozlu merged commit 3d61781 into hoppscotch:master Aug 30, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants