Update Tabs.tsx

fixed issue https://github.com/pnp/sp-dev-fx-webparts/issues/3292 to point back to tab 1
This commit is contained in:
Constey 2023-01-03 16:08:28 +01:00 committed by Hugo Bernier
parent 619d8dc28e
commit b9b080344c
1 changed files with 3 additions and 2 deletions

View File

@ -37,9 +37,10 @@ export default class Tabs extends React.Component<ITabsProps, ITabsState> {
if(evt.target.id === '') if(evt.target.id === '')
{ {
/* see issue https://github.com/pnp/sp-dev-fx-webparts/issues/3292
evt.target.children[0].children[0].focus(); evt.target.children[0].children[0].focus();
evt.target.children[0].children[0].click(); evt.target.children[0].children[0].click();
*/
} }
else else