Bootstrap 5 dynamic events for tabs

Is there any chance we could have the dynamic events for showing and hiding tabs e.g:
hide.bs.tab etc
I’m wanting to be able to save the browsers scroll position to a variable when I close a tab so that when I click that tab again without leaving the page it will auto scroll back to the position, unless there is an easier way to achieve this?

Community Page
Last updated: