Hey guys..
So, in Foundation Tabs, you always jump to the beginning of the tab content each time you open a tab.
Is there any method so that when you reopen a tab after opening another tab, you jumps to the last position you left in the first tab??
Example:
- Open the "A" tabs
- Scroll halfway down through the content
- Open the "B" tabs
- Re-open the "A" tabs and jump to the last scrolled position before you open the "B" tabs
Do you guys have any idea how I can accomplish this?
Tabs are not meant to be used for super long content, or to swap between pages (in length) of content.
You might try the JS option listed here:
https://foundation.zurb.com/sites/docs/tabs.html#js-options
data-auto-focus