Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement focusMode prop for DataGrid, apply role="grid" correctly #25530

Merged
merged 6 commits into from
Nov 7, 2022

Conversation

ling1726
Copy link
Member

@ling1726 ling1726 commented Nov 4, 2022

Applies useArrowNagivationGroup by default to DataGrid when the focusMode prop is set. Also sets correct roles for `grid

Fixes #25478
Fixes #25477

@size-auditor
Copy link

size-auditor bot commented Nov 4, 2022

Asset size changes

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

Baseline commit: 5de3909d8110cf1e9f17995108629060c306cb4c (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 4, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
62.941 kB
17.678 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.907 kB
52.983 kB
react-components
react-components: FluentProvider & webLightTheme
33.446 kB
11.033 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 5de3909d8110cf1e9f17995108629060c306cb4c

@codesandbox-ci
Copy link

codesandbox-ci bot commented Nov 4, 2022

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 4ec52d3:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Nov 4, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1265 1293 5000
Button mount 916 931 5000
FluentProvider mount 1480 1479 5000
FluentProviderWithTheme mount 573 581 10
FluentProviderWithTheme virtual-rerender 536 543 10
FluentProviderWithTheme virtual-rerender-with-unmount 576 571 10
MakeStyles mount 1943 1948 50000
SpinButton mount 2381 2339 5000

@ling1726 ling1726 changed the title feat: DataGrid cells navigable by default, apply role="grid" correctly feat: Implement focusMode prop for DataGrid, apply role="grid" correctly Nov 7, 2022
@ling1726 ling1726 merged commit 3088a39 into microsoft:master Nov 7, 2022
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
…ectly (microsoft#25530)

* feat: DataGrid cells navigable by default, apply role="grid" correctly

* update snapshots

* changefile

* imlement focusMode prop

* update changefile

* update snapshot
Hotell pushed a commit to Hotell/fluentui that referenced this pull request Feb 9, 2023
…ectly (microsoft#25530)

* feat: DataGrid cells navigable by default, apply role="grid" correctly

* update snapshots

* changefile

* imlement focusMode prop

* update changefile

* update snapshot
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.

DataGrid should support cell navigation by default DataGrid: Components should follow grid role by default
5 participants