-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix: Cell actions should have correct background when row focused within #25790
Conversation
The table cell actions should appear when any focus is within the row and not just within the cell actions container. Also apply the hover background colour when the row has focus within. Now when the cell actions overlap the cell content, it will 'cover' the content just like in hover scenarios.
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: f7d7f82f6b3117ce163c6fee84b03c8774bed95f (build) |
📊 Bundle size reportUnchanged fixtures
|
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 f3ea809:
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1330 | 1311 | 5000 | |
Button | mount | 941 | 949 | 5000 | |
FluentProvider | mount | 1603 | 1594 | 5000 | |
FluentProviderWithTheme | mount | 631 | 640 | 10 | |
FluentProviderWithTheme | virtual-rerender | 584 | 592 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 631 | 640 | 10 | |
MakeStyles | mount | 1897 | 1913 | 50000 | |
SpinButton | mount | 2571 | 2534 | 5000 |
🕵 fluentuiv9 Open the Visual Regressions report to inspect the 2 screenshots✅ There was 0 screenshots added, 0 screenshots removed, 1749 screenshots unchanged, 0 screenshots with different dimensions and 2 screenshots with visible difference. unknown 2 screenshots
|
* master: BREAKING: `useTable` renamed to `useTableFeatures` (microsoft#25797) chore: add retries for navigation in ssr-tests-v9 (microsoft#25844) fix: Cell actions should have correct background when row focused within (microsoft#25790) applying package updates Disable 3 Avatar Converged active stories (microsoft#25765) chore: introduce TS path aliases for improved DX in v8 (microsoft#25778) chore: prepare release react-northstar 0.65.0 (microsoft#25446) refactor(scripts): encapsulate v0 and v8 tooling within its domain boundaries (microsoft#25738) Support single point in area chart (microsoft#25842) chore: enable isolateModules in all v8 packages (microsoft#25774) chore: refactor styles for Button (microsoft#25216) feat: Improve docs for `DataGrid`, export as unstable (microsoft#25805) applying package updates fix: Allow data-selection-disabled to be respected by DetailsRow (microsoft#25836) docs(rfcs): Update recipes rfc with chosen option and add more details (microsoft#25823) chore(react-textarea): migrate to new package structure (microsoft#25820) chore(react-switch): migrate to new package structure (microsoft#25819) fix(react-avatar): AvatarGroup's pie layout places inline items correctly in rtl (microsoft#25822) chore: add few improvements to toolbar stories (microsoft#25635)
…hin (microsoft#25790) * fix: Cell actions should have correct background when row focused within The table cell actions should appear when any focus is within the row and not just within the cell actions container. Also apply the hover background colour when the row has focus within. Now when the cell actions overlap the cell content, it will 'cover' the content just like in hover scenarios. * changefiles
The table cell actions should appear when any focus is within the row and not just within the cell actions container. Also apply the hover background colour when the row has focus within.
Now when the cell actions overlap the cell content, it will 'cover' the content just like in hover scenarios.
Also fixes
useFocusWithin
so that the constant is no longer the same asuseFocusVisible
Before
After
Fixes #25789