Use the data-is-scrollable attribute on the correct ScrollablePane div#4602
Use the data-is-scrollable attribute on the correct ScrollablePane div#4602ThomasMichon merged 2 commits intomicrosoft:masterfrom
data-is-scrollable attribute on the correct ScrollablePane div#4602Conversation
|
@MaxLustig can you take a look at this? |
|
I'm looking forward to this merge! |
ThomasMichon
left a comment
There was a problem hiding this comment.
What is going on? Why are 'stickyAbove' and 'stickyBelow' back inside the data-is-scrollable element?
|
Might fix #4204 |
|
@ThomasMichon They are back inside the I'm not clear on why
@MaxLustig Can you help clarify what this means? Is there a repro of this issue I can try? |
|
@elliottsj @ThomasMichon can you look at PR #4491 . This sets data-is-scrollable on the correct element and keeps stickyAbove/Below as sibling children on the scrollable element. #4491 fixes #4601 as well. |
|
@leddie24 @ThomasMichon Are there concerns here? Is |
|
@leddie24 Thanks; I'll take a deeper look at your PR when I get a chance. Given that your PR is much bigger (& potentially riskier) than this change, I'd like to get this merged first to at least fix the List scrolling issue. @ThomasMichon is the stickyAbove / stickyBelow issue blocking here? |
* master: (42 commits) Applying package updates. ProgressIndicator: Finish conversion to mergeStyles (microsoft#4595) Fix props validation for Breadcrumb (microsoft#4666) No unused vars part of ts (microsoft#4670) Picker/Autofill: fixes several minor bugs. (microsoft#4569) Fix Calendar component PREV/NEXT month, year, and "Go to today" handlers firing twice (microsoft#4662) Applying package updates. Merge styles order (microsoft#4664) Fabric component: revert class change and make it backwards compatible (microsoft#4671) Addressing Issue microsoft#3707 - OverflowSet: Add the ability to set aria-label (microsoft#4667) Fix input type for Tile ARIA label prop (microsoft#4668) Fix theme slots for DetailsList header colors (microsoft#4658) Applying package updates. Jolore/calendar updates (microsoft#4643) Remove wordWrap setting. (microsoft#4657) Pivot: convert to mergeStyles - part 1 (microsoft#4656) Use the `data-is-scrollable` attribute on the correct ScrollablePane div (microsoft#4602) Applying package updates. Remove unused iconClassName prop from Nav.types (microsoft#4634) Jest snapshots: classes in animations should autoexpand. (microsoft#4647) ...
* master: (34 commits) Applying package updates. ProgressIndicator: Finish conversion to mergeStyles (microsoft#4595) Fix props validation for Breadcrumb (microsoft#4666) No unused vars part of ts (microsoft#4670) Picker/Autofill: fixes several minor bugs. (microsoft#4569) Fix Calendar component PREV/NEXT month, year, and "Go to today" handlers firing twice (microsoft#4662) Applying package updates. Merge styles order (microsoft#4664) Fabric component: revert class change and make it backwards compatible (microsoft#4671) Addressing Issue microsoft#3707 - OverflowSet: Add the ability to set aria-label (microsoft#4667) Fix input type for Tile ARIA label prop (microsoft#4668) Fix theme slots for DetailsList header colors (microsoft#4658) Applying package updates. Jolore/calendar updates (microsoft#4643) Remove wordWrap setting. (microsoft#4657) Pivot: convert to mergeStyles - part 1 (microsoft#4656) Use the `data-is-scrollable` attribute on the correct ScrollablePane div (microsoft#4602) Applying package updates. Remove unused iconClassName prop from Nav.types (microsoft#4634) Jest snapshots: classes in animations should autoexpand. (microsoft#4647) ...
Pull request checklist
$ npm run changeDescription of changes
Move the
data-is-scrollableattribute to the correct scrollable div: the one which has theoverflow-y: auto;CSS property.Focus areas to test
Run
npm start, then visithttp://localhost:4322/#/examples/scrollablepane
The DetailsList example should behave like this:
