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

Normalize change and input events across all input components #6233

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

sdvg
Copy link
Member

@sdvg sdvg commented Mar 19, 2024

Before some components emitted change on keyup and input did not exist. The KoliBri change and input events and callbacks now correctly reflect the native DOM behaviour.

☑️ Definition of Done checklist

  • Meaningful title for the release notes
  • Pull request is linked to a problem
  • All changes relate to the problem
  • Code review performed successfully
  • A11y tests performed successfully or not relevant
  • Manual test performed successfully or not relevant

Before some components emitted `change` on keyup and `input` did not exist. The KoliBri `change` and `input` events and callbacks now correctly reflect the native DOM behaviour.
Copy link
Contributor

github-actions bot commented Mar 19, 2024

@sdvg sdvg marked this pull request as ready for review March 19, 2024 17:56
Copy link
Contributor

@deleonio deleonio left a comment

Choose a reason for hiding this comment

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

Lass uns das bitte kurz gemeinsam anschauen.

@@ -1,5 +1,5 @@
// TODO: Should be synchronized with enums/events.ts
type KoliBriEventType = 'blur' | 'change' | 'click' | 'focus' | 'toggle';
type KoliBriEventType = 'blur' | 'change' | 'click' | 'focus' | 'toggle' | 'input';
Copy link
Contributor

Choose a reason for hiding this comment

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

Bitte hier alphabetisch einsortieren. Danke

@sdvg sdvg requested a review from deleonio March 22, 2024 11:01
@sdvg sdvg linked an issue Mar 22, 2024 that may be closed by this pull request
@deleonio deleonio merged commit 4dcb493 into release/1.7 Mar 22, 2024
3 of 4 checks passed
@deleonio deleonio deleted the 6030-refactor-input-events-v1 branch March 22, 2024 16:44
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

📖 Help: textarea value change event comes with blur?!
2 participants