I have a webpage with a vertical accordion in the center to display content. Upon loading the page, the accordion is centered. However, when a user clicks on a tab, the entire page scrolls up, moving the tab to the top of the browser. Is there a way to prevent this automatic scrolling behavior? I would like users to remain in the same part of the page without any scrolling. Any suggestions?
After clicking on an accordion tab, the page URL changes to . Unfortunately, the ID cannot be removed from the accordion as it is necessary for its functionality. Are there any alternative solutions available?