ElemeFE / ElemeFE/element

[Bug Report] 表单组件input在Firefox和chrome下高度表现不同

Open
#22,337 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.12

### OS/Browsers version
win10 / Firefox108.0.1 / Chrome108.0.5359.125

### Vue version
2.7.14

### Reproduction Link
https://codepen.io/ly-chn/pen/wvxWREa

### Steps to reproduce
使用Chrome和Firefox分别打开上述codepen地址

### What is Expected?
期望高度可以保持一致, 在Firefox减少错位行为

### What is actually happening?
Firefox上第一个表单项"姓名"的".el-form-item__content"高度, 与radio不同, input为41px(非codepen环境为40.5), 而radio为40px

> 日期和下拉等依赖input的组件, 高度均一致

问题将导致如果使用el-row和el-col进行布局时, 将会导致错位

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.