Skip to content

Unexpected transition when commenting a line #23

@simjnd

Description

@simjnd

How to reproduce

  1. Go to the Shiki Magic Move Demo (https://shiki-magic-move.netlify.app/)
  2. Comment the import { defineComponent } from 'vue' line
  3. Notice a lot of things unexpectingly shuffling around (like the > of a closing paragraph tag several lines down
    For a more dramatic example you can check the Zig example on the same page and comment line 12 defer list.deinit();, a lot more symbol names jump around

Expected Behaviour
In the case of commenting / decommenting a line I feel like the transition should be really simple, the line should just shift with the addition of the comment symbol and the color should fade

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededpr welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions