Skip to content

bug: <ion-segment> @ionChange no longer fires since 8.4.3 ionic-vue update #30177

Closed

Description

@jacobg

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

In ionic-vue 8.4.2, @ionChange would fire when clicking on each ionic-segment-button. Since 8.4.3, @ionChange no longer fires.

Expected Behavior

@ionChange should fire.

Steps to Reproduce

See instructions above.

Code Reproduction URL

https://ionicframework.com/docs/api/segment#events

Ionic Info

Ionic:

Ionic CLI : 7.2.0

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v18.16.0
npm : 9.5.1
OS : macOS Unknown

Additional Information

No response

Activity

  1. Alex0x47 commented on Feb 5, 2025

    @Alex0x47

    I'm having the same issue with @ionChange not being fired but on ion-toggle components, after upgrading to 8.4.3. Reverted to 8.4.2 and it's working.

  2. flroent commented on Feb 6, 2025

    @flroent
    Contributor

    Same thing here, @ionChange not fired on ion-segment, @ionInput not fired on ion-input and ion-searchbar

  3. DanielNunees commented on Feb 7, 2025

    @DanielNunees

    Same issue, neither @ionInput or @ionChange are firing.

    I reverted to v8.1.1, probably don't need to go back that far, but this version has no issues.

  4. MarvinRucinski commented on Feb 7, 2025

    @MarvinRucinski

    Same here, going back to 8.4.2 fixes this.

  5. kyaustad commented on Feb 9, 2025

    @kyaustad

    having same issue. Setting to 8.4.2 fixed for me as well. none of the Ion specific events seemed to be firing for me on most components like toggles and searchbars but the revert seemed to fix things

  6. jacobg commented on Feb 12, 2025

    @jacobg
    Author

    Is this an issue only on Ionic Vue, or does Ionic React also have this issue?

  7. kensodemann commented on Feb 12, 2025

    @kensodemann
    Contributor

    @jacobg : I am working on updating several demo apps and have only be affected by this in the Vue based one. Angular and React do not appear to be affected at all.

  8. jacobg commented on Feb 12, 2025

    @jacobg
    Author

    @kensodemann Thanks. I'm afraid we may hear an announcement next week that only the React implementation will be maintained moving forward and the others will be dropped, as only React is needed for the maintainer's commercial business model. That would explain why there is this breaking bug in the most recent release for Vue, and yet there is no response or fix for it.

  9. dolthead commented on Feb 13, 2025

    @dolthead

    @kensodemann Thanks. I'm afraid we may hear an announcement next week that only the React implementation will be maintained moving forward and the others will be dropped, as only React is needed for the maintainer's commercial business model. That would explain why there is this breaking bug in the most recent release for Vue, and yet there is no response or fix for it.

    All indications point to this being fixed and pushed out within a week or two. And Vue, Angular and React will all continue to be supported. As mentioned, the temporary workaround is to downgrade to 8.4.2.

  10. IIxauII commented on Feb 14, 2025

    @IIxauII

    dynamic value assigning on ion-segment in ionic/angular afaik also broken

  11. roger-hermasch commented on Feb 16, 2025

    @roger-hermasch

    This might be obvious but we just wasted an hour figuring out that the caret (^) in our package.json led to a faulty version. FIXING it to 8.4.2 (no caret a the beginning!) fixed it for us as well - strongly hoping for a fix from ionic soon.

  12. brandyscarney commented on Mar 3, 2025

    @brandyscarney
    Member

    Thank you for the issue! We're currently investigating this, along with all other related Vue issues introduced in version 8.4.3.

  13. added a commit that references this issue on Mar 11, 2025
    11554a5
  14. ionitron-bot commented on Apr 10, 2025

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  15. locked and limited conversation to collaborators on Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions