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(item-sliding): check for side attribute to avoid an undefined value #29845

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Sep 6, 2024

⚠️ Needs tests ⚠️

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

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 Sep 6, 2024 6:51pm

@github-actions github-actions bot added the package: core @ionic/core package label Sep 6, 2024
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
1 participant