Skip to content

Delete side modal X button - #930

Merged
david-crespo merged 2 commits into
mainfrom
no-side-modal-x
Jun 10, 2022
Merged

david-crespo merged 2 commits into
mainfrom
no-side-modal-x

Conversation

@david-crespo

Copy link
Copy Markdown
Collaborator

Closes #440
Closes #919

Justin and I realized this is the simplest solution to the problem that Reach Dialog wants to focus the first focusable element. The alternative would have been to set up all our controls to forward refs, and then we have to do all this awful ref passing. This is way easier, and we don't miss the X because there's a cancel button anyway.

@vercel

vercel Bot commented Jun 10, 2022 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
console-ui-storybook ✅ Ready (Inspect) Visit Preview Jun 10, 2022 at 9:13PM (UTC)

@david-crespo
david-crespo enabled auto-merge (squash) June 10, 2022 21:04

This branch was successfully deployed

1 active deployment
Preview — 79e77a26 Deployed Jun 10, 2022 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add forward refs to ui inputs Don't focus modal close X on SideModal open

1 participant