-
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(react-link): support Enter and Space keys interaction, if rendered as span #33587
base: master
Are you sure you want to change the base?
fix(react-link): support Enter and Space keys interaction, if rendered as span #33587
Conversation
📊 Bundle size reportUnchanged fixtures
|
Pull request demo site: URL |
@@ -0,0 +1,7 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕵🏾♀️ visual regressions to review in the fluentuiv9 Visual Regression Report
Avatar Converged 2 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Avatar Converged.Badge Mask RTL.chromium.png | 19 | Changed |
Avatar Converged.badgeMask.chromium.png | 3 | Changed |
Drawer 2 screenshots
Image Name | Diff(in Pixels) | Image Type |
---|---|---|
Drawer.Full Overlay High Contrast.chromium.png | 2247 | Changed |
Drawer.Full Overlay RTL.chromium.png | 1167 | Changed |
} | ||
}; | ||
state.root.onKeyDown = mergeCallbacks( | ||
state.root.onKeyDown, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wont this break current behaviour when disabled ? this merging callback will invoke provided onKeyDown then the custom function ( only the custom function contains disabling resolution behaviours )
Previous Behavior
Currently keyboard interaction via
Enter
andSpace
is not possible, whenLink
is rendered asspan
.New Behavior
Added explicit handling of
Enter
andSpace
🧢Related Issue(s)