Skip to content

feat: apply zIndex to Portal#22933

Merged
layershifter merged 1 commit into
microsoft:masterfrom
layershifter:feat/portal-zindex
Jun 6, 2022
Merged

feat: apply zIndex to Portal#22933
layershifter merged 1 commit into
microsoft:masterfrom
layershifter:feat/portal-zindex

Conversation

@layershifter

@layershifter layershifter commented May 11, 2022

Copy link
Copy Markdown
Member

Current Behavior

Portal does not add zIndex.

New Behavior

Portal adds zIndex=1000000 like Fluent UI v8, see #21774 for details.

Related Issue(s)

Fixes #21333.
Related #21774.

@codesandbox-ci

codesandbox-ci Bot commented May 11, 2022

Copy link
Copy Markdown

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 cb97b3c:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration
v8/v9: no compat Issue #21333
v0/v9: no compat Issue #21333

@fabricteam

fabricteam commented May 11, 2022

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-combobox
Combobox
61.28 kB
20.925 kB
61.494 kB
21.019 kB
214 B
94 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
183.617 kB
50.924 kB
183.831 kB
50.995 kB
214 B
71 B
react-menu
Menu (including children components)
113.39 kB
34.372 kB
113.605 kB
34.444 kB
215 B
72 B
react-menu
Menu (including selectable components)
116.565 kB
34.825 kB
116.78 kB
34.908 kB
215 B
83 B
react-popover
Popover
103.625 kB
31.506 kB
103.84 kB
31.603 kB
215 B
97 B
react-portal
Portal
6.302 kB
2.188 kB
9.267 kB
3.417 kB
2.965 kB
1.229 kB
react-tooltip
Tooltip
43.56 kB
14.994 kB
43.766 kB
15.075 kB
206 B
81 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-avatar
Avatar
45.538 kB
13.298 kB
react-components
react-components: FluentProvider & webLightTheme
33.988 kB
11.108 kB
🤖 This report was generated against 7e6f55ee798947113ab44ece27cf899b01d9527f

@size-auditor

size-auditor Bot commented May 11, 2022

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: 7e6f55ee798947113ab44ece27cf899b01d9527f (build)

@fabricteam

fabricteam commented May 11, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1262 1344 5000
Button mount 819 787 5000
FluentProvider mount 2305 2311 5000
FluentProviderWithTheme mount 418 419 10
FluentProviderWithTheme virtual-rerender 360 345 10
FluentProviderWithTheme virtual-rerender-with-unmount 458 469 10
MakeStyles mount 2022 2059 50000

@layershifter layershifter marked this pull request as ready for review June 2, 2022 10:07
@layershifter layershifter requested a review from a team as a code owner June 2, 2022 10:07
@layershifter layershifter merged commit bad6ad6 into microsoft:master Jun 6, 2022
@layershifter layershifter deleted the feat/portal-zindex branch June 6, 2022 12:25
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Portal compatibility between v0/v8/v9

5 participants