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(textarea): support for disabled focus ring #1353

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

jordanl17
Copy link
Member

Sheet List feature in Studio currently uses the __unstable_disableFocusRing prop on TextInput to turn off the input styling. This is useful because the Sheet List view cell provides all focus, selection and range styling whilst the input itself is used only for value changing.

Now functionality is being extended to support TextArea and as such the same prop would be very useful, but does not currently exist. This PR adds in the __unstable_disableFocusRing props for TextArea which can be used in the same way as for TextInput

Copy link

vercel bot commented Jun 25, 2024

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

Name Status Preview Comments Updated (UTC)
sanity-ui-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 4:15pm
sanity-ui-workshop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 4:15pm

Copy link
Member

@mariuslundgard mariuslundgard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jordanl17 jordanl17 merged commit 5fa6f31 into main Jul 2, 2024
11 checks passed
@jordanl17 jordanl17 deleted the edx-1489-sheet-list-text-areas branch July 2, 2024 10:30
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.

2 participants