Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Firefox on Android here.

Scrolling to the next section works well but scrolling to a previous one feels too sticky now (requires too long of a swipe to the right for me at least).

What a great project, I'm really enjoying it. Well done!




Glad you are enjoying it, thank you for your feedback and help testing!

Ok will test some more.

The problem is kinda Firefox actually. Swurl is using this newish css snap feature, but Firefox's implementation is a bit buggy. Sorry...


Related: you can use `overscroll-behavior` to prevent the browser gestures to go back/forward in history: https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-...


Thank you for point that out! That could be helpful. Do you think I should implement that? Right now I still use the browser gestures too. I'm just getting better swiping inside vs swiping on the screen edge I guess...


Something like `overscroll-behavior-x: contain;` for the scrolling container?


In your case, for the `main` element. Note that I was referring to desktop browsers gestures (Chromium), but that might help with mobile ones as well.


Ok I added that. Please try it now and let me know if that works better for you now.


Perfect!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: