vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
11.48k stars 1.86k forks source link

新增md内容不满一页时切换页面发生抖动 #3711

Closed Xsir0 closed 1 month ago

Xsir0 commented 1 month ago

Describe the bug

chrome-capture-2024-3-28

Reproduction

chrome 浏览器中新建两个页面,一个内容超过一页,另一个内容不足一页,切换页面即可复现

Expected behavior

页面正常显示

System Info

System:
    OS: Windows 10 10.0.17763
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
    Memory: 2.86 GB / 15.83 GB
  Binaries:
    Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.17.1 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Internet Explorer: 11.0.17763.2989

Additional context

No response

Validations

0xlau commented 1 month ago

可以用stackblitz复现一下,目前我在本地测试并没有这个问题,我用的是1.0.1的版本进行测试的。

brc-dd commented 1 month ago

Duplicate of #1054