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: prevent setting disabled to false with pointer events: auto #6201

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes #6183

This changes the client side JS listener as suggested in the issue to only set disabled to true and not false.

Type of change

  • Bugfix

Note

The IT setup represents an edge case as it uses setDisableOnClick(true) followed by setDisableOnClick(false) and is based on the code example #6183 (comment). Also, clicking the button in the IT requires firing an event manually.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-padawan web-padawan merged commit 2e72422 into main Apr 16, 2024
5 checks passed
@web-padawan web-padawan deleted the fix/button-disable-on-click-js branch April 16, 2024 07:26
web-padawan added a commit that referenced this pull request Apr 16, 2024
@vaadin-bot
Copy link
Collaborator

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

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