Skip to content

Virtualizer: Merge scrollref prop with container ref#28829

Merged
Mitch-At-Work merged 3 commits intomicrosoft:masterfrom
Mitch-At-Work:user/mifraser/virtualizer-scroll-ref-passthrough
Aug 16, 2023
Merged

Virtualizer: Merge scrollref prop with container ref#28829
Mitch-At-Work merged 3 commits intomicrosoft:masterfrom
Mitch-At-Work:user/mifraser/virtualizer-scroll-ref-passthrough

Conversation

@Mitch-At-Work
Copy link
Contributor

Previous Behavior

We were not passing through scrollViewRef into the merged refs

New Behavior

ScrollViewRef prop should now be merged with container prop in scrollview virtualizers.

Related Issue(s)

N/A

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 11, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 647 629 5000
Button mount 304 320 5000
Field mount 1107 1091 5000
FluentProvider mount 690 713 5000
FluentProviderWithTheme mount 77 75 10
FluentProviderWithTheme virtual-rerender 64 68 10
FluentProviderWithTheme virtual-rerender-with-unmount 70 78 10
InfoButton mount 13 19 5000
MakeStyles mount 854 870 50000
Persona mount 1663 1643 5000
SpinButton mount 1349 1369 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 11, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a1ab4d0:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 11, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
66.478 kB
18.477 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
202.881 kB
57.576 kB
react-components
react-components: FluentProvider & webLightTheme
37.651 kB
12.343 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against 80a90fb61ed1e1a08cf6e897503a198dda97ed6c

@size-auditor
Copy link

size-auditor bot commented Aug 11, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 80a90fb61ed1e1a08cf6e897503a198dda97ed6c (build)

@Mitch-At-Work Mitch-At-Work marked this pull request as ready for review August 14, 2023 17:58
@Mitch-At-Work Mitch-At-Work requested a review from a team as a code owner August 14, 2023 17:58
@Mitch-At-Work Mitch-At-Work merged commit e40f118 into microsoft:master Aug 16, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 17, 2023
* master: (66 commits)
  fix(react-infobutton): Cursor should be pointer when hovering the button to show it's a button (microsoft#28893)
  chore(react-tags-preview): add docs  (microsoft#28899)
  applying package updates
  fix(react-tree): stablilize `handleActionsRef` created by TreeItem (microsoft#28896)
  bugfix: headless flat tree itemType manual definition (microsoft#28898)
  doc(react-tree): adds a11y edge cases to the docs (microsoft#28897)
  Update DatePickerDescription.md with note about compat components (microsoft#28882)
  chore(react-tree): removes preview warning from the docs (microsoft#28886)
  applying package updates
  fix(public-docsite): Remove image clipping and move top banner under top nav to avoid header issues (microsoft#28885)
  feat(react-tree): stable release (microsoft#28845)
  Virtualizer: Merge scrollref prop with container ref (microsoft#28829)
  chore(react-jsx-runtime): release stable version (microsoft#28880)
  applying package updates
  fix(react-tags-preview): style update - tag hover style should only be on dismiss icon (microsoft#28791)
  applying package updates
  feat(public-docsite): Add topbanner component and use it in the public docsite (microsoft#28870)
  feat: Add VivaEngageIcon to @fluentui/react-icons-mdl2 package (microsoft#28804)
  docs: Remove InfoButton stories in favor of having only InfoLabel stories. (microsoft#28856)
  Added more CY and VR tests to the Breadcrumb  (microsoft#28790)
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 17, 2023
* master: (66 commits)
  fix(react-infobutton): Cursor should be pointer when hovering the button to show it's a button (microsoft#28893)
  chore(react-tags-preview): add docs  (microsoft#28899)
  applying package updates
  fix(react-tree): stablilize `handleActionsRef` created by TreeItem (microsoft#28896)
  bugfix: headless flat tree itemType manual definition (microsoft#28898)
  doc(react-tree): adds a11y edge cases to the docs (microsoft#28897)
  Update DatePickerDescription.md with note about compat components (microsoft#28882)
  chore(react-tree): removes preview warning from the docs (microsoft#28886)
  applying package updates
  fix(public-docsite): Remove image clipping and move top banner under top nav to avoid header issues (microsoft#28885)
  feat(react-tree): stable release (microsoft#28845)
  Virtualizer: Merge scrollref prop with container ref (microsoft#28829)
  chore(react-jsx-runtime): release stable version (microsoft#28880)
  applying package updates
  fix(react-tags-preview): style update - tag hover style should only be on dismiss icon (microsoft#28791)
  applying package updates
  feat(public-docsite): Add topbanner component and use it in the public docsite (microsoft#28870)
  feat: Add VivaEngageIcon to @fluentui/react-icons-mdl2 package (microsoft#28804)
  docs: Remove InfoButton stories in favor of having only InfoLabel stories. (microsoft#28856)
  Added more CY and VR tests to the Breadcrumb  (microsoft#28790)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants