iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

Preview site flashes and moves while typing #650

Open samuel-garmany opened 8 months ago

samuel-garmany commented 8 months ago

Describe the bug The preview window moves up for every character while typing, making it hard to see a preview. The window also flashes when typing at the bottom of a file after a code block.

To Reproduce Steps to reproduce the behavior:

  1. Install markdown-preview.nvim through lazy (I'm using alacritty)
  2. Use firefox
  3. Type in the middle of a file to see the movement issue
  4. Type after a code block to see the flashing

Expected behavior The preview should stay exactly where the typing is taking place and not flash when typing, mirroring the editor.

Screenshots Video: https://github.com/iamcco/markdown-preview.nvim/assets/65299214/b25ddb97-ef3b-4d27-b472-9649302394e2

Desktop (please complete the following information):