Skip to content

🐛 [Bug]: in tsx , tabs show warn, Slot "default" invoked outside of the render function #3502

Open
@nsnans

Description

@nsnans

Version

3.24.0

Vue Version

3.5.16

Link to minimal reproduction

Very simple code

      <Tabs
        size='large'
        modelValue={'1'}
      >
        <TabItem title='1' name='1'>
          1
        </TabItem>
        <TabItem title='2' name='2'>
          2
        </TabItem>
        <TabItem title='3' name='3'>
          3
        </TabItem>
      </Tabs>

Step to reproduce

Effect

Image

Switch and view the console

Image

What is expected

no warn

What is actually happening

has warn

What is your project name

chrome extension

Any additional comments (optional)

I have tried use v--slots to add default. But the result will still be this "warn"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions