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

fix: focus text-area on required indicator click #8720

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

web-padawan
Copy link
Member

Description

Originally in V14 and up until V21, the textarea was focused on label click:

<label part="label" on-click="focus" id="[[_labelId]]">[[label]]</label>

However, I missed to add this click listener in the V22 version added in #2276 (compared to text-field in #2274).
Later we changed to focus on required indicator click in #2824 and the text-area wasn't covered.

Added listener and corresponding test to align with vaadin-text-field and other field components.

Type of change

  • Bugfix

@web-padawan web-padawan requested a review from vursen February 21, 2025 15:00
@web-padawan web-padawan merged commit e946f17 into main Feb 21, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/text-area-required-indicator-focus branch February 21, 2025 16:38
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.7.0.alpha12 and is also targeting the upcoming stable 24.7.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants