opentiny / opentiny/tiny-engine

🐛 [Bug]: 自定义组件有 插槽 在画布不显示

Open
#1,803 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
2.8k
Forks
476
Avg merge
17h 35m
Merged PRs (30d)
1

Description

Environment

Google Chrome 版本 147.0.7727.102(正式版本) (64 位)

Version

v22.12.0

Version

latest

Link to minimal reproduction

https://gitee.com/haozhuang/tiny-engine.git

Step to reproduce

materials/src/components/MyList/src/index.vue
自定义组件 有插槽 时 在画布不渲染该组件
去掉插槽 时 组件 可以渲染

What is expected

No response

What is actually happening

No response

What is your project name

TinyEngine

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with materials/src/components/MyList/src/index.vue and reproduce the issue in the linked TinyEngine project using Chrome. Compare the canvas behavior when the custom component includes a slot with behavior after the slot is removed. Done means the custom component renders on the canvas while retaining its slot.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.