Jump to content
Search Community

dmnk

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by dmnk

  1. @ZachSaucier your code is working fine on mobile.

     

    I implemented almost exact code on the website I am building.  It was working perfectly on desktop, but on mobile the effect would be triggered too late. The bug occured first when I opened dev tools to test responsive (simulating iPhone 6/7/8). If I turned touch simulation off everything would work normally. On real device bug was present as well.

     

    For some reason scroller markers were disappearing on mobile, and sometimes markers for triggers as well. It was a CSS issue from my side. I added overflow: hidden to parent element and everything worked fine again. TBH I don't know why it is working with this change, but it works.

     

    Sorry for bothering you. Thank you very much. You really helped me.

  2. Hey @ZachSaucier, thank you for such a fast reply. Sorry for not being clear enough.

     

    My idea is to have "back to top" element. Once user comes to the bottom of the page or near the bottom of the page (e.g. body element), the "back to top" element will be shown with effect. Once user gets out of the area "back to top" element will be hidden. The effect might be just changing the opacity.

     

    In image attached you can see what I mean. Hopefully it is understandable (not the prettiest though).

     

    1471585782_ScreenshotatJun1915-10-03.png.74f39749f1a2aa2501b6a95aae349164.png

×
×
  • Create New...