Closed hellt closed 1 year ago
I couldn't reproduce this using squidfunk site, but maybe you may get a feeling as to why this could have happened on my website.
Sorry, but we need a reproduction.
I pinned it down to navigation.instant
. When it is enabled - code IDs get messed up when switching pages.
Could be related to recent issues found in the instant reloading - #5023
Perfect, thanks for investing the time. Can you provide a reproduction?
Context
website: https://learn.srlinux.dev/get-started/
Bug description
Using insiders 4.32.0 where the code selection feature was released I noticed that while navigating among pages and clicking on code selection sometimes code block ID is detected wrongly.
Related links
Reproduction
I couldn't reproduce this using squidfunk site, but maybe you may get a feeling as to why this could have happened on my website. Therefore the zip is missing.
https://user-images.githubusercontent.com/5679861/219975910-bb609246-43d7-42cb-b328-26033bd1bbf0.mp4
This video shows that code selection first correctly identified code block ID as
0
, then I switched to anther page via the menu element, got back, clicked on code selection again, and Code ID became12
.Steps to reproduce
Couldn't reproduce on squidfunk's site. On my site the reproduction steps are:
Browser
Chrome, Safari
Before submitting