Closed EveSunMaple closed 1 month ago
在使用 astro:transitions 进行页面跳转时,鼠标指针会出现莫名的抽搐,具体详见:https://github.com/EveSunMaple/Frosti/issues/16
astro:transitions
而且很明显的,在黑夜模式下刷新您的网站,会出现一瞬间白屏的闪烁。
建议:
不仅我的主题遇到了此问题,使用 astro:transitions 的主题几乎(也许有些我没有看到)都存在鼠标指针抽搐的问题,这也许是一个比较好的解决方案,可以提供更好的路由切换效果
可能需要修改的文件:
最后,作者的主题很好看,希望更好 🎉
事实上这个问题也在困扰着我,我曾经做过这方面的工作,问题没有办法完美解决。
我会按照你的提议尝试进行修改,十分感谢你(^▽^)
已经使用 Swup 代替 astro:transitions
在使用
astro:transitions
进行页面跳转时,鼠标指针会出现莫名的抽搐,具体详见:https://github.com/EveSunMaple/Frosti/issues/16而且很明显的,在黑夜模式下刷新您的网站,会出现一瞬间白屏的闪烁。
建议:
astro:transitions
而是使用 'Swup' ,这个方案同时也被 fuwari 所采用可能需要修改的文件:
最后,作者的主题很好看,希望更好 🎉