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

v-show conflicts with style display binding #4768

Closed
zhaozhongyu opened this issue Oct 9, 2021 · 1 comment
Closed

v-show conflicts with style display binding #4768

zhaozhongyu opened this issue Oct 9, 2021 · 1 comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working

Comments

@zhaozhongyu
Copy link

Version

3.2.20

Reproduction link

codepen.io

Steps to reproduce

click changeStyle

What is expected?

item display style change

What is actually happening?

item display style was reset by v-show cached style _vod

if ('_vod' in el) {
    style.display = currentDisplay
  }

is it feature or bug?

@edison1105 edison1105 added the 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. label Oct 9, 2021
@edison1105
Copy link
Member

edison1105 commented Oct 9, 2021

caused by d534515

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working
Projects
None yet
3 participants