Skip to content

rerender is not running correctly #794

@baixiaoyu2997

Description

@baixiaoyu2997

Environment


  • Operating System: Linux
  • Node Version: v18.18.0
  • Nuxt Version: 3.11.1
  • CLI Version: 3.11.0
  • Nitro Version: -
  • Package Manager: pnpm@8.15.3
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/vitejs-vite-mgaqxw?file=packages%2Fbase%2Fcomponents%2Fui%2Ftoken-input%2FTokenInput.test.ts&terminal=dev

pnpm run base test:unit

Describe the bug

I added v-show to the element, and when I try to display the element, I use rerender and set showActionInfo:true, but the value of style in the rerendered element still has display:none

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions