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(runtime): have fallback for style setting #5948

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

christian-bromann
Copy link
Member

What is the current behavior?

The Ionic Framework nightly build is failing. After some investigations it seems that the page had a missing style tag in the header which caused the component to be rendered without padding:

Screenshot 2024-08-16 at 3 11 10 PM

> Left side is the working version, right side is the Playwright trace

I don't know why the style tag with the styles for ion-list isn't rendered only in CI. I have to assume that it has to do with Playwright behaving funky here. I can't reproduce it locally at all.

What is the new behavior?

Added an else statement in cases none of the previous if statement match which should never happen but may have happened here. Worth a try.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

n/a

Other information

n/a

@christian-bromann christian-bromann added this pull request to the merge queue Aug 17, 2024
Merged via the queue into main with commit ae19d7a Aug 17, 2024
88 checks passed
@christian-bromann christian-bromann deleted the cb/fix-nightly-build-v2 branch August 17, 2024 20:15
@christian-bromann
Copy link
Member Author

This patch has been published in Stencil v4.21.0!

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.

2 participants