V-show isn't working on an element with a style attribute
Vue version
3.4.16
Link to minimal reproduction
https://github.com/mattelen/vue-show-issue
Steps to reproduce
Run the app with npm run dev
. Click on the "Click me to toggle" Button. This will hide some content. Click on the button again to show the content
What is expected?
The content is shown
What is actually happening?
The Content is not shown
System Info
System:
OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (16) x64 AMD Ryzen 7 PRO 4750U with Radeon Graphics
Memory: 30.29 GB / 44.80 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 18.12.1 - ~/.nvm/versions/node/v18.12.1/bin/node
Yarn: 1.13.0 - ~/.yarn/bin/yarn
npm: 8.19.2 - ~/.nvm/versions/node/v18.12.1/bin/npm
pnpm: 8.6.11 - ~/.nvm/versions/node/v18.12.1/bin/pnpm
Browsers:
Chrome: 121.0.6167.139
Chromium: 121.0.6167.139
npmPackages:
vue: ^3.4.15 => 3.4.16
Any additional comments?
This issue appears to have started in 3.4.15. Is this affecting our vue-multiselect library (https://github.com/shentao/vue-multiselect/issues/1752)