Skip to content

teleport组件当目标为祖父及以上节点时,若存在css-v-bind的情况且disabled=true时渲染异常 #7879

Closed as not planned
@wushilei111

Description

@wushilei111

Vue version

3.2.47

Link to minimal reproduction

<script setup> import { ref } from 'vue' const open = ref(false) const windowWith = ref('300px') </script> Open Modal

Hello from the modal!

Close
<style> .modal{ width: v-bind(windowWith); } </style>

Steps to reproduce

提供的sfc组件渲染异常

What is expected?

正常渲染

What is actually happening?

解析css-v-bind时异常
TypeError: Cannot read properties of null (reading 'nodeType')
at updateCssVars (runtime-core.esm-bundler.js:6608:22)

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions