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.

Not working in Edge?

See original GitHub issue

Hi. I’m getting unexpected intersectionRatio values in Edge in an app I’m building and came here to check if someone else had the same issue. I then tried your storybook examples in Edge and looks like only the Thresholds and Margin examples seem to be working.

Here’s a video with the versions used: https://d.pr/v/kgwVnn

In my app, the issue is intersectionRatio coming back as 1 for a 1px height element that is not within the viewport.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Rendezcommented, May 14, 2018

@andrefgneves I got a machine at the office running Edge 16 and locally it’s also buggy for me within the iframe, unless I set some negative rootMargin, e.g.: -12px 0px.

Someone opened an issue for the Edge’s team: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/17319665/

To me they seem related since the intersectionRatio entries contain the right values, but the isIntersecting calculation is off. Also, previous Edge versions do not contain this bug.

I’m sorry, but there’s nothing I can do to circumvent this issue, so I recommend you include the polyfill for Edge16 for now, until they resolve the issue.

0reactions
andrefgnevescommented, May 14, 2018

Yeah, it does look like an Edge bug, and I understand there’s not much you can do. I’ll follow your recommendation. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do if Microsoft Edge isn't working
What to do if Microsoft Edge isn't working · If Microsoft Edge keeps crashing · Close other tabs, extensions, and apps · Make...
Read more >
How to Fix It When Microsoft Edge Is Not Working - Lifewire
Open the Settings app and click Update & Security > Troubleshoot > Additional troubleshooters. Run the Internet Connections, Program ...
Read more >
What to do when Microsoft Edge is not responding
Go to Settings > Apps > Installed apps. Locate the Microsoft Edge entry, then click the three-dot menu on the right. Select Modify....
Read more >
Microsoft Edge Won't Open in Windows 10: How To Fix
Method 9. Repair or reinstall Microsoft Edge · Press the Windows + X keys at the same time, and then choose Apps and...
Read more >
Common Microsoft Edge Problems, and How to Fix Them
Try clearing out Edge data by clicking on “…” and choosing Settings. After that, select Privacy, search, and services from the side menu,...
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