Community forum for knowledge and support

Updated 4 months ago

Issue with Timeline 8 Component on iPhone

Hi πŸ™‹,

I’m currently trying to implement the Timeline 8 Component and am experiencing an issue with the "timeline8_progress-line." It appears to not respect the z-index or just flashes through the "timeline8_progress-line-cover," which should cover it but doesn't (sometimes). This issue seems to occur only on iPhone (both Chrome and Safari on Iphone 15 pro). I’ve attached a screen recording for better understanding.

Here is my read-only link (Fresh Project and Component): https://preview.webflow.com/preview/e-commerce-24a937?utm_medium=preview_link&utm_sour[…]7&preview=2f30562c559e7f7ca9bc8cc9cc9d278f&workflow=preview.

I would appreciate any help or hints you can provide.
Thank you!

2
M
S
K
16 comments

can I get the published URL so I can see the issue first hand?

Hi ,

Here is the published link: https://e-commerce-24a937.webflow.io/home-copy. It seems the issue might be related to the iPhone's bottom browser navigation bars disappearing when you scroll, which changes the viewport.

okay - there is a the DVH (Dynamic Viewport Height) - maybe if we try that?

it looks like the height is using this unit but the negative margin isn't so try changing that and doing a test and let me know

Hi ,

Thanks! πŸ™ I already tried using `dvh`, but unfortunately, it yielded the same result. This issue occurs on the "native" component from the Relume library website as well, affecting all timeline components that use the div cover approach with `vh`.

cc might need your eyes on this one - looks a bit gnarly!

Checking now Matt πŸ‘

Nice catch This looks to be a Safari issue at first glance. Chrome on iPhone apparently is using Safari essentially. Same same.

Have you tried making timline8_circle relative and adding a higher z-index by any chacne?

Hey πŸ‘‹ , I don't think I've tried exactly that, but I have adjusted with z-index. I'll give it a try tomorrow morning. πŸ™ Thanks, guys.

Sweet, would love to know how you go !

Hey guys , ,

Unfortunately, adjusting the z-index and setting the circle to relative didn't make any difference. I think I've tried almost everything. πŸ˜‚ Is Relume possibly telling the browser not to change the viewport?

Using this link, the Tab bar stays and no weird behavior appears: https://www.relume.io/preview?cid=timelines/section_timeline8.

My problem now is finding a solution for my clients because I'm using the timeline components in live builds.

Hey ! It looks like there is an issue with how Safari on iOS handles z-index.

  • Add an embed code inside the component with the following code:
<style>
.timeline8_content-right, .timeline8_progress-line-cover {
-webkit-transform: translate3d(0, 0, 0);
}
</style>
  • Set the embed code to display: none
  • Set .timeline8_content-right to position: relative with a z-index of 2

Let me know if this works! πŸ™‚

, thank you so much for looking into this. The fix works perfectly! I really appreciate your help on this. πŸ™

FYI I had the same problem with "timeline 1" & "timeline 2" on arc (mobile, iOS).

Add a reply
Sign up and join the conversation on Slack