stephane-monnot / react-vertical-timeline

Vertical timeline for React.js
https://stephane-monnot.github.io/react-vertical-timeline/
MIT License
1.07k stars 158 forks source link

Affix disappearing when scrolling on Android #116

Closed riwu closed 2 years ago

riwu commented 3 years ago

https://i.imgur.com/MY8DRcC.mp4 https://6rkwm.csb.app/ https://codesandbox.io/s/basic-antd4167-forked-6rkwm?file=/index.js

On Android Chrome, the affix is disappearing when you scroll (see video). Works fine on PC/iPhone.

RyanGosden commented 3 years ago

I have the same issue with my navigation menu. Looking into finding a solution.

RyanGosden commented 3 years ago

https://i.imgur.com/MY8DRcC.mp4 https://6rkwm.csb.app/ https://codesandbox.io/s/basic-antd4167-forked-6rkwm?file=/index.js

On Android Chrome, the affix is disappearing when you scroll (see video). Works fine on PC/iPhone.

Its a temporary solution, but it does not occur when animate is set to false.

riwu commented 3 years ago

Its a temporary solution, but it does not occur when animate is set to false.

Yeah that's what I'm currently doing for Android, but hoping for a better fix.

riwu commented 2 years ago

@stephane-monnot did you fix this?

stephane-monnot commented 2 years ago

You can fix that by putting a overflow: hidden; on parent to avoid horizontal scroll on animation.