magento2 – override collapsible.js – Magento Stack Exchange


I am facing a old problem with the tabs in the products page
When I click on any tab, the page scroll down automatically.

after reading many similar issues, I understood that I should make a change in the


In fact, that was the solution, and everyhting is good, However, this is not a permanent solution.
I know that I should override this file in a way or another in my theme directory. But I have no idea how to deal with that.

Please let me know if you can help me in this matter knowing that I am using portotheme.