[React] How can I prevent scroll top on some screens?
I am using React Template.
When I click an item on the list screen, Link to the detail screen.
Then I back to the list page, the window scrolls up to the top.
I don't want to disable scroll top all screen, just some screen.
How can I prevent scroll top on some screens?
I think it affects by ScrollTopComponent.
I would suggest the next solution:
src/_metronic/layout/MasterLayout.tsx. You can remove from it from Layout and use only in the pages where do you need it.