Skip to content

Commit

Permalink
Scrollable Pane: Fix pointer events (microsoft#13744)
Browse files Browse the repository at this point in the history
* Fix pointer events

* Change files

* Update snapshots

Co-authored-by: Eddie Liu <edwl@microsoft.com>
  • Loading branch information
leddie24 and edwlmsft committed Jul 23, 2020
1 parent 4f6d22e commit 89ef7ea
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "ScrollablePane: fix pointer events on sticky'd elements",
"packageName": "office-ui-fabric-react",
"email": "edwl@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-06-22T21:24:21.560Z"
}
Expand Up @@ -13,7 +13,7 @@ export const getStyles = (props: IScrollablePaneStyleProps): IScrollablePaneStyl

const AboveAndBelowStyles: IStyle = {
position: 'absolute',
pointerEvents: 'auto',
pointerEvents: 'none',
};

const positioningStyle: IStyle = {
Expand Down
Expand Up @@ -23,7 +23,7 @@ exports[`ScrollablePane renders correctly 1`] = `
className=
{
pointer-events: auto;
pointer-events: none;
position: absolute;
top: 0px;
z-index: 1;
Expand Down Expand Up @@ -60,7 +60,7 @@ exports[`ScrollablePane renders correctly 1`] = `
{
bottom: 0px;
pointer-events: auto;
pointer-events: none;
position: absolute;
}
@media screen and (-ms-high-contrast: active){& {
Expand All @@ -80,7 +80,7 @@ exports[`ScrollablePane renders correctly 1`] = `
{
bottom: 0px;
pointer-events: auto;
pointer-events: none;
position: absolute;
width: 100%;
}
Expand Down

0 comments on commit 89ef7ea

Please sign in to comment.