You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The button with data-target still works, but the a href does not. It worked in alpha 2. Also, it does work on doc page, just not on my test site. Are docs/examples all using latest build?
If I use a button to open collapsed item, then href will correctly scroll to target. However, href scrolls to top of page if item is in collapsed state when link is clicked.
I found the problem. It was on my end. There is a conflict with some smooth scroll JS that I also had. As soon as I disable smooth scroll, everything worked fine. Here's the problematic code:
The button with data-target still works, but the a href does not. It worked in alpha 2. Also, it does work on doc page, just not on my test site. Are docs/examples all using latest build?
If I use a button to open collapsed item, then href will correctly scroll to target. However, href scrolls to top of page if item is in collapsed state when link is clicked.
Copied code directly from here: http://v4-alpha.getbootstrap.com/components/collapse/#example
The text was updated successfully, but these errors were encountered: