Menu icon Foundation
Fine grain control of tabs anchor jump (i.e. animate, offset, etc.)

Hi there, i'm using tabs with Foundation v5.5.3 with "deep_linking" and "scroll_to_content" both set to true. Is anyone aware of a way by which to take control of the anchor jump (when a tab is toggled), so as to apply an animated scroll, offsets, etc.?

Per the documentation, i'm using the "toggled event" function:

$('#myTabs').on('toggled', function (event, tab) {
  console.log(tab);
});

to achieve other objectives, but it's not clear to me if i can control the anchor jump using this function.

tabsscrollinganchors

Hi there, i'm using tabs with Foundation v5.5.3 with "deep_linking" and "scroll_to_content" both set to true. Is anyone aware of a way by which to take control of the anchor jump (when a tab is toggled), so as to apply an animated scroll, offsets, etc.?

Per the documentation, i'm using the "toggled event" function:

$('#myTabs').on('toggled', function (event, tab) {
  console.log(tab);
});

to achieve other objectives, but it's not clear to me if i can control the anchor jump using this function.