Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "office-ui-fabric-react",
"comment": "DetailsList: scrollbars show up unnecessarily on IE11",
"type": "patch"
}
],
"packageName": "office-ui-fabric-react",
"email": "aditima@microsoft.com"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ $detailsList-text-color: $listTextColor;

.focusZone {
display: inline-block;
vertical-align: top;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could have potential side effects on some browsers. I think it could be ok, @ThomasMichon any concerns?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spoke to David on phone. This is certainly a browser bug, the heights of the content and the container are exactly same, but IE doesn't line them up correctly unless I get rid of this vertical align. I actually feel a little less bad about this because it's only changing the DetailsList styles. Tested on Chrome and works for the basic cases and the demo page.

I'll go ahead and merge this.

min-width: 100%;
min-height: 1px;
}
Expand Down