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

Core: Be explicit about viewMode to fix Vue issue #16919

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Dec 6, 2021

Issue: #16862

What I did

Explicitly pass viewMode into renderStoryToElement, instead of trying to infer it from the canvasElement.

Vue is doing whacky (?) things and re-creating the #root element, but in any case, it is better to just be explicit I think.

How to test

  • Is this testable with Jest or Chromatic screenshots?

Try changing globals in the vue-cli example. Also the E2E tests

Instead of trying to infer it from the `canvasElement`.

Vue is doing whacky things and re-creating the `#root` element, but in any case, it is better to just be explicit I think.
@nx-cloud
Copy link

nx-cloud bot commented Dec 6, 2021

Nx Cloud Report

CI ran the following commands for commit c2b7147. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

Copy link
Member

@gaetanmaisse gaetanmaisse left a comment

Choose a reason for hiding this comment

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

💪🏻

@shilman shilman changed the title Be explicit about viewMode to fix Vue issue Core: Be explicit about viewMode to fix Vue issue Dec 6, 2021
@shilman shilman added the core label Dec 6, 2021
@shilman shilman merged commit 5543a7e into next Dec 6, 2021
@shilman shilman deleted the 16862-fix-vue-rerender-viewMode branch December 6, 2021 12:36
@shilman shilman added patch:yes Bugfix & documentation PR that need to be picked to main branch patch:done Patch/release PRs already cherry-picked to main/release branch labels Dec 6, 2021
shilman added a commit that referenced this pull request Dec 9, 2021
…wMode

Core: Be explicit about `viewMode` to fix Vue issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug core patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants