ElemeFE / ElemeFE/element

[Bug Report] input输入框同时配置了clearable,maxlength,show-word-limit后所输入的内容会和清除图标或者字数提示区域重叠

Open
#22,594 4 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.13

### OS/Browsers version
windows11/Chrome 114.0.5735.199

### Vue version
2.7.14

### Reproduction Link
https://codepen.io/TOM-LILI/pen/eYQGvKL

### Steps to reproduce
input输入框同时配置了clearable,maxlength,show-word-limit后所输入的内容会和清除图标或者字数提示区域重叠

### What is Expected?
两个配置全开启后,对输入内容不产生遮挡

### What is actually happening?
两个配置全开启后,对输入内容产生遮挡,padding-right不会动态改变

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.