primeui icon indicating copy to clipboard operation
primeui copied to clipboard

TabView - support for hash nagivation

Open djmj opened this issue 9 years ago • 0 comments

When defining tabs in a TabView we add an anchor like <a href="#tab1">.

This anchor is not changing the url of the browser (does not updates the hash), as regular anchors do. That results in missing browser history and decreases usability.

Back and forth browser buttons navigating trough visited tabs is a nice navigation feature to increase usability. Especially if a lot of content is shown on tabs.

Further if anchor #tab1 is present the tabView should automatically display that tab (set its activeIndex to the one representing that tab).

If implemented maybe toggle this feature using separate boolean attribute.

djmj avatar Apr 06 '16 23:04 djmj