Angular UI bootstrap accordian - expand creates sc

2019-07-19 17:11发布

I'm using the angular ui bootstrap accordian. Everything works great except when I expand an accordian section that is big enough to cause the browser to show a scrollbar for the page, the whole page jolts to the left by the amount of the width of the scrollbar. When the accordian is small enough that a scrollbar isn't needed, the page jolts back to the original size.

I'm not sure what to do about this...does this require a hack, or is there some elegant solution using accordian settings or bootstrap?

1条回答
手持菜刀,她持情操
2楼-- · 2019-07-19 18:01

I think your only solution is to always show the scrollbar

How to always show the vertical scrollbar in a browser?

查看更多
登录 后发表回答