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

[Style] [select] el-select组件设置属性filterable,再设置全局样式 *{position: relative;} 输入框的宽度固定无法改变 #16545

Open
xb001130 opened this issue Apr 17, 2024 · 1 comment

Comments

@xb001130
Copy link

Bug Type: Style

Environment

  • Vue Version: 3.4.21
  • Element Plus Version: 2.7.0
  • Browser / OS: Chrome/123.0.6312.123
  • Build Tool: Vite

Reproduction

Related Component

  • el-select

Reproduction Link

Element Plus Playground

Steps to reproduce

设置全局样式*{position: relative;}

What is Expected?

不受全局样式影响

What is actually happening?

受 *{position: relative;} 样式影响

Additional comments

(empty)

@xb001130
Copy link
Author

2.4以上的版本都会受到影响

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

1 participant