question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

inView not working with Firefox after upgrade from 8.27.1 to 8.28.1

See original GitHub issue

Hey. After upgrade we now have an issue where inView does not seem to trigger on Firefox.

Usage is as follows

const [ref, inView, entry] = useInView({
    threshold: 1
  });
const showElement =
    !inView &&
    entry &&
    entry.boundingClientRect.top < 0;

It previously worked and there’s been no changes in the code. Any reason why this should be?

Cheers!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
thebuildercommented, Sep 9, 2020

🎉 This issue has been resolved in version 8.28.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

0reactions
karl-knuttelcommented, Sep 10, 2020

Can you try the Codesandbox in #384, see if that fixes the issue?

Works perfectly now with 8.28.3. Thanks for the fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix problems connecting to websites after updating Firefox
This article describes how to troubleshoot problems connecting to websites that start immediately after updating Firefox to a new version.
Read more >
Firefox does not work - Common fixes to get you back up and ...
Find solutions to Firefox issues like crashing, not starting, slowness and websites not loading.
Read more >
Troubleshoot and diagnose Firefox problems - Mozilla Support
1 1. Restart your computer · 2 2. Clear your cookies and cache · 3 3. Restart Firefox in Troubleshoot Mode · 4...
Read more >
Firefox won't start - find solutions - Mozilla Support
but you can open Firefox, see Troubleshoot extensions, themes and hardware ... after a software update, use another browser to download the Firefox...
Read more >
Firefox can't load websites but other browsers can
We'll explain errors such as "Server not found" or "Unable to connect" and how to fix problems where Firefox can't access websites but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found