From 9b6d17d6526c378a2039944f422dba39434bd301 Mon Sep 17 00:00:00 2001 From: Spencer Elliott Date: Wed, 18 Apr 2018 13:30:53 -0700 Subject: [PATCH 1/2] Use `data-is-scrollable` attribute on correct ScrollablePane div --- .../src/components/ScrollablePane/ScrollablePane.base.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }
); } From 50b703d78fcee0314a4c5f540beaf479b94b776e Mon Sep 17 00:00:00 2001 From: Spencer Elliott Date: Wed, 18 Apr 2018 13:43:07 -0700 Subject: [PATCH 2/2] rush change --- .../scrollable-pane-fix_2018-04-18-20-42.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/office-ui-fabric-react/scrollable-pane-fix_2018-04-18-20-42.json 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