Skip to content

Conversation

@ling1726
Copy link
Contributor

@ling1726 ling1726 commented Oct 3, 2023

This PR introduces listScrollParents which will collect every scroll parent in DOM of both target and container.

This behaviour already existed in poppver v2 https://github.com/floating-ui/floating-ui/blob/v2.x/src/dom-utils/listScrollParents.js

This PR introduces `listScrollParents` which will collect every scroll
parent in DOM of both target and container.

This behaviour already existed in poppver v2 https://github.com/floating-ui/floating-ui/blob/v2.x/src/dom-utils/listScrollParents.js
@ling1726 ling1726 marked this pull request as ready for review October 3, 2023 17:24
@ling1726 ling1726 requested review from a team as code owners October 3, 2023 17:24
@github-actions github-actions bot added this to the October Project Cycle Q4 2023 milestone Oct 3, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 610 604 5000
Button mount 311 313 5000
Field mount 1131 1165 5000
FluentProvider mount 695 696 5000
FluentProviderWithTheme mount 79 79 10
FluentProviderWithTheme virtual-rerender 68 68 10
FluentProviderWithTheme virtual-rerender-with-unmount 73 69 10
InfoButton mount 14 12 5000
MakeStyles mount 845 860 50000
Persona mount 1742 1695 5000
SpinButton mount 1348 1359 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 3, 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 23f61a0:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2023

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-combobox
Combobox (including child components)
90.121 kB
29.441 kB
90.288 kB
29.491 kB
167 B
50 B
react-combobox
Dropdown (including child components)
88.561 kB
29.081 kB
88.728 kB
29.134 kB
167 B
53 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.308 kB
59.248 kB
206.475 kB
59.3 kB
167 B
52 B
react-datepicker-compat
DatePicker Compat
210.557 kB
58.665 kB
210.724 kB
58.718 kB
167 B
53 B
react-infobutton
InfoButton
128.917 kB
40.599 kB
129.084 kB
40.659 kB
167 B
60 B
react-infobutton
InfoLabel
132.608 kB
41.776 kB
132.775 kB
41.83 kB
167 B
54 B
react-menu
Menu (including children components)
138.822 kB
42.876 kB
138.99 kB
42.935 kB
168 B
59 B
react-menu
Menu (including selectable components)
141.508 kB
43.389 kB
141.676 kB
43.45 kB
168 B
61 B
react-popover
Popover
117.662 kB
37.118 kB
117.83 kB
37.177 kB
168 B
59 B
react-positioning
usePositioning
25.137 kB
9.109 kB
25.305 kB
9.162 kB
168 B
53 B
react-tooltip
Tooltip
50.859 kB
17.955 kB
51.027 kB
18.012 kB
168 B
57 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-alert
Alert
83.172 kB
23.078 kB
react-avatar
Avatar
49.185 kB
15.491 kB
react-avatar
AvatarGroup
18.716 kB
7.458 kB
react-avatar
AvatarGroupItem
63.841 kB
19.834 kB
react-components
react-components: Button, FluentProvider & webLightTheme
68.748 kB
19.742 kB
react-components
react-components: FluentProvider & webLightTheme
40.866 kB
13.546 kB
react-persona
Persona
56.076 kB
17.369 kB
react-portal-compat
PortalCompatProvider
6.503 kB
2.22 kB
react-table
DataGrid
155.989 kB
43.497 kB
react-table
Table (Primitives only)
42.788 kB
13.359 kB
react-table
Table as DataGrid
129.257 kB
34.79 kB
react-table
Table (Selection only)
74.624 kB
20.096 kB
react-table
Table (Sort only)
73.231 kB
19.694 kB
react-tags
InteractionTag
14.342 kB
5.736 kB
react-tags
Tag
29.065 kB
9.081 kB
react-tags
TagGroup
72.581 kB
21.631 kB
🤖 This report was generated against 86dd76990e3da5af1f2b6b04a3aec46141d5a653

@size-auditor
Copy link

size-auditor bot commented Oct 3, 2023

Asset size changes

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

Baseline commit: 86dd76990e3da5af1f2b6b04a3aec46141d5a653 (build)

@ling1726 ling1726 merged commit 401ff6d into microsoft:master Oct 4, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 4, 2023
* master: (35 commits)
  bugfix(react-dialog): removes context hooks invocations from styles hook (microsoft#29396)
  chore(react-dialog): exports DialogSurface context types and hooks (microsoft#29397)
  Minimum height feature for bar chart (microsoft#29359)
  (feat) Breadcrumb - register items via context (microsoft#29393)
  fix: Consider all parents as scroll parents (microsoft#29378)
  Changes to enable charting on fluent docsite (microsoft#29210)
  bugfix: ensure TreeItem emits events properly (microsoft#29390)
  chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (microsoft#29320)
  chore: migrate from getNativeElementProps to getIntrinsicElementProps (microsoft#29387)
  applying package updates
  applying package updates
  fix: Icon in disabled Button shouldn't change color on hover or pressed (microsoft#29342)
  Squish changes for rebase (microsoft#28705)
  fix: GroupedListV2 scrollToIndex now works correctly (microsoft#29332)
  Fix 27482: ProgressBar has an optional state variable  (microsoft#29366)
  remove a11y test ux from theme designer (microsoft#29379)
  feat: preview release (microsoft#29377)
  Fixed divider in the tooltip (microsoft#29357)
  fix (microsoft#29376)
  docs: Initial documentation pass (microsoft#29372)
  ...
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