cferdinandi / tabby

Lightweight, accessible vanilla JS toggle tabs.
MIT License
598 stars 73 forks source link

Browser History #81

Closed shornuk closed 7 years ago

shornuk commented 7 years ago

Anyway to implement keeping the deep linking but stop the browser keeping the history of the tabs being opened?

cferdinandi commented 7 years ago

Nope

shornuk commented 7 years ago

No probs. Never come across it as being the wanted/expected behaviour, but if it's fundamental to it then no worries.

cferdinandi commented 7 years ago

It's an accessibility thing, so keyboard users can navigate between tabs via the browser forward/back buttons.

This was added in v11.x, though, so if you grabbed v10.x, you can probably bolt in deep linking with toggleTab() method without the browser history.

(Also, sorry for the terse response earlier!)

shornuk commented 7 years ago

Nice, thanks!