-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse function breaks with a large amount of content in accordion #41240
Comments
We don't account for overall scroll position at all in the accordion, and I'm not sure that we should try. We'd have to animate the page scroll up while the animation collapses on the longer item. Seems hairy to get right, but unsure what team thinks. /cc @julien-deramond |
@mdo thanks for the quick look. I haven't dug too deeply into the bootstrap internals to see why this is breaking yet. Do you have any idea what might be causing this? I'm wondering if it might be a system thing instead. We've been able to recreate on Macs, but I just had a coworker test on Linux and he was not able to recreate it.
|
I ended up getting around this by using the "Always open" option. |
I think the "always open" option is not a solution :) I've never encountered such a problem with accordions. ubuntu-linux.mp4I also haven't encountered this on Windows, are you using a Mac? |
(Originally posted by @froboy in #39215)
Prerequisites
Describe the issue
Originally posted in #39215
bootstrap-accordions.webm
Reduced test cases
Originally posted in #39215
https://stackblitz.com/edit/fr5fwebg
What operating system(s) are you seeing the problem on?
What version of Bootstrap are you using?
v5.3.3
The text was updated successfully, but these errors were encountered: