Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug]: 画布切换组件后绑定事件列表依然还是原组件的绑定事件列表 #747

Closed
langyjn opened this issue Aug 20, 2024 · 3 comments · Fixed by #757
Closed
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@langyjn
Copy link

langyjn commented Aug 20, 2024

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

none

Step to reproduce

重现步骤:

  1. 点击box组件,查看绑定事件列表
  2. 点击table组件,查看绑定事件列表
  3. 切换回box组件,查看绑定事件列表,事件列表依然时table组件的事件列表
    IMG_2400
    IMG_2401
    IMG_2402

What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine branch:develop

Any additional comments (optional)

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: After switching components on the canvas, the binding event list is still the binding event list of the original component.

@chilingling chilingling added bug Something isn't working good first issue Good for newcomers labels Aug 20, 2024
@kikoshoung
Copy link

same issue +1

@jxxl998
Copy link

jxxl998 commented Aug 26, 2024

same 🙌

chilingling added a commit to chilingling/tiny-engine that referenced this issue Aug 26, 2024
修复画布切换选择组件后,高级面板事件列表仍然显示原组件事件列表的bug
close opentiny#747
@hexqi hexqi closed this as completed in e828de2 Sep 25, 2024
chilingling added a commit to chilingling/tiny-engine that referenced this issue Dec 4, 2024
…one (opentiny#757)

* fix: switch selected component event name list still show the origin one

修复画布切换选择组件后,高级面板事件列表仍然显示原组件事件列表的bug
close opentiny#747

* fix: handle potential undefined values in renderEventList

* fix: use locale instead of zh_CN attr
kevinmoch pushed a commit that referenced this issue Dec 4, 2024
…one (#757)

* fix: switch selected component event name list still show the origin one

修复画布切换选择组件后,高级面板事件列表仍然显示原组件事件列表的bug
close #747

* fix: handle potential undefined values in renderEventList

* fix: use locale instead of zh_CN attr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants