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.

Some elements disappear

See original GitHub issue

Hello 👋

Describe the bug When scroll down some elements disappear and they suddenly appear when scrolling up.

Screenshots Youtube video to see the trouble on chrome. https://www.youtube.com/watch?v=Tfuvsa-64f8

Desktop:

  • OS: iOS
  • Browser: chrome, firefox
  • Version 4.1.4

I could fix it on Chrome using:

.has-scroll-smooth [data-scroll-container] {
    transform: perspective(1px);
}

This fix is not working in firefox.

Thank you 👊

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

4reactions
BleXorcommented, Jun 8, 2022

Was playing with GSAP and Locomotive - had the same issue - while scrolling up, elements (images) were invisible, unless I scrolled them like 70% into view … This fixed the issue for me in my little demo:

[data-scroll-container], [data-scroll-section] { transform-style: preserve-3d; will-change: transform; }

0reactions
QuintonCcommented, Aug 19, 2022

Was playing with GSAP and Locomotive - had the same issue - while scrolling up, elements (images) were invisible, unless I scrolled them like 70% into view … This fixed the issue for me in my little demo:

[data-scroll-container], [data-scroll-section] { transform-style: preserve-3d; will-change: transform; }

This worked for us. Thanks! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do some elements disappear in HTML or XLS output?
Why do some elements disappear in HTML or XLS output? ... The most probable cause of this is the fact that these elements...
Read more >
Some elements disappear when publishing the prototype
Hi! Today I've been troubleling with the publishing prototype option. Everyday after I finish my work, I publish everything done for sharing it....
Read more >
What if one element from the periodic table disappears or ...
Hydrogen. If it disappears there will be no carbonic compounds and water on Earth and there goes the life. Main constituent of a...
Read more >
Some objects disappear while working on the model in Revit
Issue: Some Revit elements disappear while working in the model. This behavior is intermittent and might appear when zooming in/out or using ...
Read more >
Certain elements disappear in a promoted view - OpenBuildings
In some dgn files, it is found that certain elements disappear in a promoted view. This issue can occur if the elements exist...
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