thednp/bootstrap.native

tab should not collapse content

lekoala opened this issue · 2 comments

I see that the tab component is adjusting the content height by default. This is different (and maybe, not in a good way) than what bootstrap 5 does.
In my application, I have a tabbed form, and doing so adds an unnecessary animation that is not very fluid. In my opinion, it's better to leave the browser compute the content height.
At any rate, I wouldn't make it a default and offer a way to enable/disable it through a data attribute.

I've added a comment on the commit in regards to this.

I've pushed a PR to improve on this issue and we can close this one for now.