Closed BadPingHere closed 8 months ago
svelte-highlight
?I'm currently on Svelte-Highlight v7.4.2, along with Svelte-Flicking v4.11.2. I've also uploaded a minimal repo here.
Thanks. In your repro, I removed the Highlight components and just rendered the text. Without using svelte-highlight at all, the same bug happens.
As such, I'm inclined to believe this is a bug with the Flicking library.
See here: https://stackblitz.com/edit/github-ccvn67?file=package.json,src%2Froutes%2F%2Bpage.svelte
Yeah, im seeing what you're seeing.
As the title says, when using svelte-flickering, and encompassing a panel with a code block, it flickers between different div's, and has a drastic change in transformations. This occurs on any type of codeblock, no matter the configuration, as long as the circular:true is applied to the flicking options. I believe this a highlight bug rather than a flicking bug due to it being broken with all codeblocks, and working with basically anything else. A gif of this in action is added below.