News for hackers. Stuff that matters.
Re:Show HN: A new search engine UX I've been working on in m... by john-doe on Wednesday October 19, 2022 @07:36AM (#33260639)
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-...
Re:Show HN: A new search engine UX I've been working on in m... by ryes on Wednesday October 19, 2022 @11:10AM (#33263366)
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...
Re:Show HN: A new search engine UX I've been working on in m... by john-doe on Wednesday October 19, 2022 @11:49AM (#33263923)
Something like `overscroll-behavior-x: contain;` for the scrolling container?
Re:Show HN: A new search engine UX I've been working on in m... by john-doe on Thursday October 20, 2022 @06:16AM (#33272657)
In your case, for the `main` element.
Re:Show HN: A new search engine UX I've been working on in m... by ryes on Thursday October 20, 2022 @11:24AM (#33276141)
Ok I added that. Please try it now and let me know if that works better for you now.
Re:Show HN: A new search engine UX I've been working on in m... by john-doe on Thursday October 20, 2022 @12:06PM (#33276769)
Perfect!