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

Multiline Input clickable area is smaller than expected #4450

Open
1 task done
origami-z opened this issue Nov 27, 2024 · 0 comments
Open
1 task done

Multiline Input clickable area is smaller than expected #4450

origami-z opened this issue Nov 27, 2024 · 0 comments
Labels
community For issues that have been raised by folks outside the core Salt team component: multiline input status: awaiting triage Automatically added to new issues. Should be removed once they have been triaged. type: enhancement 💡 New feature or request

Comments

@origami-z
Copy link
Contributor

Description

Not all area of Multiline Input is clickable. More visible in below examples

  • Bordered, clicking padding of outer div will not focus input
  • Character Count, clicking adornment area will not focus input

Expected behavior

Clicking anywhere on the component will focus the text area.

Alternatives and examples

This may not be as simple as forcing textAreaRef.current.focus() when onClick from a11y angle, especially when the user could in theory insert interactive elements to the adornment area, and moving focus will likely violate the rules?

Context

SO Question 94475

Are you a JPMorgan Chase & Co. employee?

  • I am an employee of JPMorgan Chase & Co.
@origami-z origami-z added type: enhancement 💡 New feature or request status: awaiting triage Automatically added to new issues. Should be removed once they have been triaged. component: multiline input labels Nov 27, 2024
@origami-z origami-z added the community For issues that have been raised by folks outside the core Salt team label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community For issues that have been raised by folks outside the core Salt team component: multiline input status: awaiting triage Automatically added to new issues. Should be removed once they have been triaged. type: enhancement 💡 New feature or request
Projects
Development

No branches or pull requests

1 participant