您可以尝试使用
visualViewport
https://github.com/skorphil/nextjs-form/issues/13
但是,我也想在 Safari 中找到更好的方法。为什么该死的 safari 不能只使用默认元标记?