diff --git a/common/changes/office-ui-fabric-react/scrollable-pane-fix_2018-04-18-20-42.json b/common/changes/office-ui-fabric-react/scrollable-pane-fix_2018-04-18-20-42.json new file mode 100644 index 00000000000000..aee3b7fbd695dc --- /dev/null +++ b/common/changes/office-ui-fabric-react/scrollable-pane-fix_2018-04-18-20-42.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "office-ui-fabric-react", + "comment": "Use `data-is-scrollable` attribute on correct ScrollablePane div", + "type": "patch" + } + ], + "packageName": "office-ui-fabric-react", + "email": "spelliot@microsoft.com" +} \ No newline at end of file diff --git a/packages/office-ui-fabric-react/src/components/ScrollablePane/ScrollablePane.base.tsx b/packages/office-ui-fabric-react/src/components/ScrollablePane/ScrollablePane.base.tsx index 8ac7bcd7eb5780..43e9491a6e70d7 100644 --- a/packages/office-ui-fabric-react/src/components/ScrollablePane/ScrollablePane.base.tsx +++ b/packages/office-ui-fabric-react/src/components/ScrollablePane/ScrollablePane.base.tsx @@ -102,12 +102,11 @@ export class ScrollablePaneBase extends BaseComponent { ...getNativeProps(this.props, divProperties) } ref={ this._root } className={ classNames.root } + data-is-scrollable={ true } >
-
- { this.props.children } -
+ { this.props.children }
); }