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:
parent
619d8dc28e
commit
b9b080344c
|
@ -37,9 +37,10 @@ export default class Tabs extends React.Component<ITabsProps, ITabsState> {
|
|||
|
||||
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].click();
|
||||
|
||||
*/
|
||||
|
||||
}
|
||||
else
|
||||
|
@ -162,4 +163,4 @@ export default class Tabs extends React.Component<ITabsProps, ITabsState> {
|
|||
|
||||
return <div {...divProps} tabIndex={0} onFocus={this.handleFocus} ref="tabs">{children}</div>;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue