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]: 表格组件(tiny-grid)预览/出码时,单元格插槽样式丢失问题 #754

Open
langyjn opened this issue Aug 22, 2024 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@langyjn
Copy link

langyjn commented Aug 22, 2024

Environment

chrome

Version

latest

Version

latest

Link to minimal reproduction

none

Step to reproduce

  1. 画布配置一个表格(tiny-grid),选择一列添加插槽,拖入一个text组件,更改text组件的文字颜色
    1
  2. 点击预览,如截图,text组件颜色样式丢失
    2
  3. 查看出码,插槽使用render jsx方式渲染,页面样式有scoped属性,这里因该为slots手动增加scopeId
    3
  4. 否则样式不生效
    4

What is expected

No response

What is actually happening

No response

What is your project name

tiny-engine 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]: When previewing/exporting the table component (tiny-grid), the cell slot style is lost.

@chilingling chilingling added bug Something isn't working enhancement New feature or request labels Aug 26, 2024
@chilingling
Copy link
Member

@langyjn 感谢反馈,这里 jsx 的出码方式的确不支持 scope css。官方研究一下能不能直接出码到 template。

@Issues-translate-bot
Copy link

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


@langyjn Thanks for the feedback. The jsx coding method here does not support scope css. The official will study whether the code can be directly exported to the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants