Skip to content

Conversation

@bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Mar 17, 2023

Previous Behavior

Without proper padding the border of focusable elements inside DialogContent would be lost.

image

New Behavior

image

Related Issue(s)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 17, 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 c56a950:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration
flamboyant-cookies-w198lu Issue #25843

@size-auditor
Copy link

size-auditor bot commented Mar 17, 2023

Asset size changes

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

Baseline commit: 77bb9ec1eeedef91315dee3750bd06b15168c693 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 17, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1076 1064 5000
Button mount 679 770 5000
Field mount 1930 1899 5000
FluentProvider mount 1444 1489 5000
FluentProviderWithTheme mount 377 362 10
FluentProviderWithTheme virtual-rerender 311 272 10
FluentProviderWithTheme virtual-rerender-with-unmount 356 350 10
InfoButton mount 248 239 5000
MakeStyles mount 1691 1695 50000
Persona mount 2718 2758 5000
SpinButton mount 2343 2349 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Mar 17, 2023

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-dialog
Dialog (including children components)
92.852 kB
27.25 kB
93.493 kB
27.432 kB
641 B
182 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
67.372 kB
18.188 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.778 kB
57.319 kB
react-components
react-components: FluentProvider & webLightTheme
38.201 kB
12.128 kB
react-portal-compat
PortalCompatProvider
6.446 kB
2.185 kB
🤖 This report was generated against 77bb9ec1eeedef91315dee3750bd06b15168c693

@bsunderhus bsunderhus requested review from a team and ling1726 March 17, 2023 16:02
@bsunderhus bsunderhus force-pushed the react-dialog/fix--add-padding-to-dialog-content branch from 398ad62 to 25febcd Compare March 22, 2023 11:59
@bsunderhus bsunderhus force-pushed the react-dialog/fix--add-padding-to-dialog-content branch from db3201b to c56a950 Compare March 22, 2023 16:02
@bsunderhus bsunderhus merged commit 9f9c332 into microsoft:master Mar 23, 2023
@bsunderhus bsunderhus deleted the react-dialog/fix--add-padding-to-dialog-content branch March 23, 2023 10:28
@ParadimeWeb
Copy link

This makes the scrollbar always visible. It's pretty ugly.

image

marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 27, 2023
* master: (47 commits)
  fix: Fix vertical alignment of inline Checkbox when checked vs. unchecked (microsoft#27324)
  applying package updates
  Fix: Revert microsoft#26931 change due to new bug it introduced (microsoft#27323)
  chore(react-infobutton): Renaming content slot to info (microsoft#27316)
  applying package updates
  Fix bad release mismatch of react-select (microsoft#27321)
  applying package updates
  Fix react-combobox mismatch after bad release (microsoft#27319)
  docs: add section about media query sorting (microsoft#27307)
  applying package updates
  fix: sync packages and changefiles after bad release (microsoft#27317)
  applying package updates
  chore(react-datepicker-compat): Cleanup types, unused code, and restore utils tests (microsoft#27297)
  [Fluent 2 Theme] Fixing link color in dark theme (microsoft#27203)
  Tree documentation and stories (microsoft#27270)
  feat: Render theme CSS variables in SSR style element (microsoft#27277)
  chore (scripts): update create-package plop templates to use swc/helpers in deps (microsoft#27286)
  fix(DialogContent): adds padding to allow focus visibility (microsoft#27248)
  Adding Card component style hooks to shared context (microsoft#27295)
  Virtualizer: Static scroll hooks and embedded scrollview (microsoft#26985)
  ...
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.

[Bug]: checkbox focus visible inside dialog

5 participants