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] label 和 input 组合开关样式渲染 bug #54

Open
janily opened this issue Dec 4, 2020 · 3 comments
Open

🐛[BUG] label 和 input 组合开关样式渲染 bug #54

janily opened this issue Dec 4, 2020 · 3 comments

Comments

@janily
Copy link

janily commented Dec 4, 2020

🐛 bug 描述

使用 label 和 input 组合,用样式实现开关 UI 样式,使用插件转化,渲染有问题,渲染不出来,如下所示。

正常:

image

渲染到 sketch 中不正常:

image

📷 复现步骤

可以通过下面到 demo 来复现

🏞 期望结果

💻 复现代码

可复现 demo

© 版本信息

  • html2sketch 版本: [0.4.6]
  • 浏览器环境
  • 开发环境 [mac OS]

🚑 其他信息

@arvinxx
Copy link
Collaborator

arvinxx commented Dec 4, 2020

👌 最近这两周很忙,暂时没有时间修复。等 20 号之后我会全部处理掉的

@arvinxx arvinxx mentioned this issue May 8, 2021
6 tasks
@arvinxx
Copy link
Collaborator

arvinxx commented May 13, 2021

这个问题是 html2sketch 生成的元素顺序不对导致的,before 生成的图层应该在上面,而不是在下面。

image

@janily
Copy link
Author

janily commented May 26, 2021

@arvinxx 这个要修改生成顺序是在哪修改来的,想先直接修改下源码来用下,没找到这块内容在哪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants