Skip to content

Conversation

@brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Sep 6, 2024

Issue number: resolves #29499


What is the current behavior?

Using the bundled version of Ionic results in an error Uncaught (in promise) Error: "undefined" is not a valid value for [side]. Use "start" or "end" instead. with <ion-item-sliding>.

Reproduction 1:

It is also reproducible in an Ionic Angular app when installed via npm.

Reproduction 2:

What is the new behavior?

Check for the side attribute to avoid side being undefined.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 8.6.1-dev.11749562115.1e681558

Test PR: #30469

The tests must be merged separately, after this is released, in order to use the fix from the CDN.

@vercel
Copy link

vercel bot commented Sep 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2025 1:54pm

@github-actions github-actions bot added the package: core @ionic/core package label Sep 6, 2024
@thetaPC
Copy link
Contributor

thetaPC commented May 23, 2025

@brandyscarney what's the status of this PR?

@brandyscarney
Copy link
Member Author

@thetaPC The fix works but I wanted to find a way to add a test for it but haven't had time to look into it.

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@brandyscarney brandyscarney added this pull request to the merge queue Jun 10, 2025
Merged via the queue into main with commit c38aa07 Jun 10, 2025
56 of 93 checks passed
@brandyscarney brandyscarney deleted the ROU-11160 branch June 10, 2025 18:21
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2025
Adds test for #29845

Must be merged after the fix in that PR is released. The test will fail
while using the older version of the CDN.

---------

Co-authored-by: Brandy Smith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: ion-item-sliding update error

5 participants