feat(InfoTip): Add global escape close#3194
Conversation
|
View your CI Pipeline Execution ↗ for commit 342d5b3 ☁️ Nx Cloud last updated this comment at |
…gamut into ajr-global-esc-close-infotip
LinKCoding
left a comment
There was a problem hiding this comment.
LGTM! Works well in SB and left one tiny nit
🔥
|
|
||
| const InfoTipExample: React.FC<InfoTipProps> = (args) => { | ||
| return ( | ||
| export const Default: Story = { |
There was a problem hiding this comment.
Love all these changes, thanks~
dreamwasp
left a comment
There was a problem hiding this comment.
left comments just about the handleFocusOut function, i'm gonna check out mono and see how its working there!
dreamwasp
left a comment
There was a problem hiding this comment.
looks great + sounds great on VO - thanks for fixing the VO bug!
|
📬 Published Alpha Packages: |
|
🚀 Styleguide deploy preview ready! Preview URL: https://690a32c58dea3959ce6bbeea--gamut-preview.netlify.app |
Overview
Adds a global escape close to floating InfoTips. Also moves focus back to info button after focus leaves the infotip. Fixes a bug where the infotip text was not getting read by screenreaders.
PR Checklist
Testing Instructions
PR Links and Envs