Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great to have an event that fires only when a tab or details element is being shown or hidden. This would much help us solving issues like https://www.drupal.org/node/2631710 where JS needs to bind on event after details element is shown, not before.
Comments
Comment #2
DuaelFrThanks for submitting your issue.
Feature requests have to be filled against the next minor version (or next major if they plan to introduce a BC break).
I think that kind of event does not cost much and can always be useful for many reasons (eg. a map in a [vertical]tab that'd need to be loaded/resized on shown).
Comment #4
jimmyko CreditAttribution: jimmyko as a volunteer commentedI am looking for the similar thing in Drupal 7 as well. Not only vertical tabs, but also other widget built with js in Drupal does not fire any event for other developer. It would be better to take event into account during the design in future.