CSS gesture swiping without browser history backlog?

The following CSS driven carousel (no Javascript) accepts swipe gestures on handheld devices, but it stacks up the pages in the browser history (something that I have always detested whenever I came across it in the past) and something that I would like to avoid.

Is there an elegant way to allow for gesture swiping (for a Carousel) without this behaviour ?

Its the same in the desktop also and clicking the link registers in the browser history. Its actually worse in the desktop because you can drag and slide on a mobile (ios) without triggering the history.

The method to navigate is using anchors with fragment identifiers so there is no way that I know to turn that behaviour off without resorting to JS and in which case you may have well used js to start with :slight_smile:

1 Like