Skip to content

Commit

Permalink
Addressing Issue #3707 - OverflowSet: Add the ability to set aria-lab…
Browse files Browse the repository at this point in the history
…el (#4667)

* enabled native props with use of FocusZone

* added documentation for native props to OverflowSet

* rush change
  • Loading branch information
oengusmacinog-zz authored and dzearing committed Apr 25, 2018
1 parent 56c4cfb commit 127d4d9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "Enabled native props (aria-* and data-*) on OverflowSet even when the doNotContainWithinFocusZone prop is false",
"type": "minor"
}
],
"packageName": "office-ui-fabric-react",
"email": "v-brgarl@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class OverflowSet extends BaseComponent<IOverflowSetProps, {}> implements
} else {
Tag = FocusZone;
uniqueComponentProps = {
...getNativeProps(this.props, divProperties),
...focusZoneProps,
componentRef: this._focusZone,
direction: vertical ? FocusZoneDirection.vertical : FocusZoneDirection.horizontal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export class OverflowSetPage extends React.Component<IComponentDemoPageProps, an
{ require<string>('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/docs/OverflowSetOverview.md') }
</PageMarkdown>
}
allowNativeProps={ true }
exampleCards={
<LayerHost>
<ExampleCard title='OverflowSet Basic Example' code={ OverflowSetBasicExampleCode }>
Expand Down

0 comments on commit 127d4d9

Please sign in to comment.