React. Scrolling to top on pathname update works every time , except when going back (history.go)

后端 未结 0 1167
忘掉有多难
忘掉有多难 2020-12-28 14:26

I have an issue which I havent been able to solve for a while.

Al my pages use a scrollToTop feature, whenever the app detects a pathname change, it will scroll to th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题