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

input组件,小程序端和h5端表现不一致 #282

Closed
zhl1232 opened this issue Apr 8, 2019 · 4 comments
Closed

input组件,小程序端和h5端表现不一致 #282

zhl1232 opened this issue Apr 8, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@zhl1232
Copy link

zhl1232 commented Apr 8, 2019

问题描述
input组件编译会增加一层父节点,父节点的盒子模型在小程序和H5端表现不一致。

2
33

补充信息
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
把小程序端的父节点改成
view {
box-sizing:border-box;
}
或者把H5端父节点样式注释,
div {
/* box-sizing: border-box; */
}
两边表现一致.

@xiaoyucoding
Copy link

目前会引发排版问题么,请详细描述并提供下测试代码。

@xiaoyucoding xiaoyucoding self-assigned this Apr 13, 2019
@zxzhgk
Copy link

zxzhgk commented Apr 16, 2019

我碰到的问题是 H5端会导致在IOS下光标偏上,不能直接使用line-height, 而是采用padding 才能使得光标居中

@fxy060608 fxy060608 added the bug Something isn't working label Apr 17, 2019
@fxy060608
Copy link
Collaborator

预计1.9.3修复此问题

@hbcui1984 hbcui1984 changed the title ipnut组件,小程序端和h5端表现不一致 input组件,小程序端和h5端表现不一致 Apr 22, 2019
@xiaoyucoding
Copy link

HBuilderX 1.9.3 及 CLI 均已更新

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

No branches or pull requests

4 participants