laravel / nova-issues

553 stars 34 forks source link

On navigating to a Tool, vertical scroll disappears.. #4293

Closed ali-raza-saleem closed 2 years ago

ali-raza-saleem commented 2 years ago

Description:

I traced the issue to vendor\laravel\nova\resources\js\layouts\MainHeader.vue. The said component watches mainMenuShown state in Vuex store. This state on navigation to a resource is set to false. However, on navigation to a Tool, mainMenuShown is set to true and the watcher in MainHeader.vue adds class 'overflow-y-hidden' to the html body which prevents vertical scrolling.

Detailed steps to reproduce the issue on a fresh Nova installation:

-Create a custom tool. -Navigate to the tool

crynobone commented 2 years ago

Duplicate of #4281 and will be fixed on the next release.