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: delegate sendKeys calls to the input element #3581

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Aug 11, 2022

Description

This PR ensures sendKeys calls are delegated to the component's slotted input element as calling sendKeys directly on the component's host doesn't seem to be reliable.

  • DatePickerElement
  • TimePickerElement

A follow-up to #3502

Related to #3515
Related to #3496

Type of change

  • Bugfix

Checklist

  • I have read the contribution guide: https://vaadin.com/docs-beta/latest/guide/contributing/overview/
  • I have added a description following the guideline.
  • The issue is created in the corresponding repository and I have referenced it.
  • I have added tests to ensure my change is effective and works as intended.
  • New and existing tests are passing locally with my change.
  • I have performed self-review and corrected misspellings.

@vursen vursen marked this pull request as ready for review August 11, 2022 10:35
@vursen vursen requested review from yuriy-fix, web-padawan and sissbruecker and removed request for web-padawan August 11, 2022 10:37
@vursen vursen removed the request for review from sissbruecker August 11, 2022 10:49
@web-padawan web-padawan enabled auto-merge (squash) August 11, 2022 13:02
@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@web-padawan web-padawan merged commit 19cb2c1 into master Aug 11, 2022
@web-padawan web-padawan deleted the fix/delegate-send-keys branch August 11, 2022 13:23
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 23.2.0.beta1 and is also targeting the upcoming stable 23.2.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.

None yet

4 participants