Yesheng Liang
Yesheng Liang
Thank you for the detailed context! Unfortunately, the plugin does nothing about navigation at this point. You will get an automatically generated navigation list from mkdocs if you omit the...
Please give me an example of your `mkdocs.yml` file, which removes the private information. It is hard to reproduce the problem without it.
问题在这里: https://github.com/treehollow/treehollow-v3-ios/blob/f2fa891ac528f854bf24fde759f1b38e5bd02351/Source/Hollow/View/Hierarchy/Main/PostListView.swift#L73 因为有 `fixedSize`。如果没有 `fixedSize` 的话,数据更新之后间距会出现另一种问题(变大),所以一直没改,不过可能还是要考虑改一下。 这实际上是 SwiftUI 的 bug。
取消 `fixedSize` 后 Bug 如图所示 
https://github.com/treehollow/treehollow-v3-ios/commit/db263702544a3c4da4a76949d2fc17fa19bf6d39 修改了 `HollowDetailStore` 中 Binding 的逻辑,使得详情加载后不会将新增的评论赋值给 list 所用的数据: https://github.com/treehollow/treehollow-v3-ios/blob/db263702544a3c4da4a76949d2fc17fa19bf6d39/Source/Hollow/ViewModel/Hollow/HollowDetailStore.swift#L54-L63 我其实很不喜欢这种方法,但是目前来看暂时只能这样解决了,等苹果修复了之后再改回去吧,这个 issue 暂时就不 close 了。