Accordion Tabs Don't Scroll to Active Tab When Clicked, Leaves Content Out of View

Created on 3 July 2014, over 10 years ago
Updated 12 December 2024, 10 days ago

I have an accordion which opens to more than a screen's worth of text. When I scroll down and click on another section it opens by expanding to the top, leaving the window in the middle of text making me have to scroll up to get to the beginning of the section.

Is it possible to have the accordion scroll to the top of the section when each tab is clicked?

I've seen some posts on the jQuery forums as well as in the views_accordion module issues about this problem but I am not proficient enough in JavaScript to implement them for this module.

views_accordion: https://www.drupal.org/node/409088 β†’

jQuery Forums: http://forum.jquery.com/topic/force-sccordion-to-focus-at-top

✨ Feature request
Status

Closed: outdated

Version

3.6

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States mrdrewkeller

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • jQuery

    Affects the version, handling, or usage of the jQuery javascript library.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

    If still an issue or needed for 4.0.x (latest branch) feel free to reopen

Production build 0.71.5 2024