Skip to content

fix(core): prevent catChange event emission on select initialization#807

Merged
gluecksmelodie merged 3 commits into
betafrom
fix/select-change-event-on-init
Oct 29, 2025
Merged

fix(core): prevent catChange event emission on select initialization#807
gluecksmelodie merged 3 commits into
betafrom
fix/select-change-event-on-init

Conversation

@gluecksmelodie
Copy link
Copy Markdown
Collaborator

fix: prevent catChange event emission on select initialization

Fixes #802

to prevent event emission during component initialization/resolution

  • Only emit catChange when selection changes due to user interaction

Fixes #802

  to prevent event emission during component initialization/resolution
- Only emit catChange when selection changes due to user interaction
- Add spec test to verify no event emission on initialization
- Add spec test to verify event emission on user interaction
- Add e2e test for initialization behavior
- Verify that catChange is not emitted for programmatic value changes
- Only user interactions should trigger catChange events
- Programmatic changes trigger resolve() which sets isResolving=true
@gluecksmelodie gluecksmelodie changed the title fix: prevent catChange event emission on select initialization fix(core): prevent catChange event emission on select initialization Oct 29, 2025
@gluecksmelodie gluecksmelodie changed the base branch from main to beta October 29, 2025 13:12
@glushkova91 glushkova91 self-requested a review October 29, 2025 13:15
@gluecksmelodie gluecksmelodie merged commit 083eee3 into beta Oct 29, 2025
6 checks passed
@gluecksmelodie gluecksmelodie deleted the fix/select-change-event-on-init branch October 29, 2025 13:18
glushkova91 pushed a commit that referenced this pull request Nov 7, 2025
* ci: beta pre-releases (#808)

* ci: beta pre-releases

* ci: move duplication from release and pre-release github workflows to a separate job

* ci: add permissions

---------

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>

* ci: fix release-beta job (#811)

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>

* ci: add separate manifest file for beta releases (#813)

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>

* ci: add target branch for pre-release workflow (#814)

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>

* fix(core): prevent catChange event emission on select initialization (#807)

* fix: prevent catChange event emission on select initialization

Fixes #802

  to prevent event emission during component initialization/resolution
- Only emit catChange when selection changes due to user interaction
- Add spec test to verify no event emission on initialization
- Add spec test to verify event emission on user interaction
- Add e2e test for initialization behavior

* test: add test for programmatic value changes

- Verify that catChange is not emitted for programmatic value changes
- Only user interactions should trigger catChange events
- Programmatic changes trigger resolve() which sets isResolving=true

* ci: adjust release-please-config.beta.json file (#816)

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>

* chore: retrigger beta release with fixed config

* ci: try to specify prerelease for every package and "release-type": "node" explicit

* feat: test beta prerelease configuration

* ci: try versioning-strategy: prerelease

* feat: test beta prerelease configuration

* ci: try versioning in config

* chore: release beta (#825)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: anastasiia_glushkova <anastasiia.glushkova@haiilo.com>
Co-authored-by: Nora Simonow <nora.simonow@haiilo.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cat-select emits catChange event at initialization

2 participants