Tabs navigation - history issue

Hi All,

In V2.0.10, tabs navigation having issue if previous page has same tabs id.

Eg:
page1:

<div class="tabs">
  <div class="tab tab-active" id="tab1">
    ... Page1 Tab 1 content goes here ...
  </div>
  <div class="tab" id="tab2">
    ... Page1 Tab 2 content goes here ...
  </div>

page2:

<div class="tabs">
  <div class="tab tab-active" id="tab1">
    ... Page2 Tab 1 content goes here ...
  </div>
  <div class="tab" id="tab2">
    ... Page2Tab 2 content goes here ...
  </div>

Once we moved from page1 to page2 then unable to navigate tab2 ( with in page2) using below script

app.tabs.show("#tab2")

The above script triggering in history of page1. This one worked fine previously.
Is someone faced same issue?

This apparently happens because you have same tabs. Just use more strict selector in tab.show like ‘.page-current #tab2