-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
fix(components): [input-number] prevent input wheel events #11677
Conversation
👋 @Mario34, seems like this is your first time contribution to element-plus.
|
Details #11675 input-number组件与表格组件同时使用时,鼠标滚轮事件会改变input-number的值 |
8b5c7d0
to
88b3bfb
Compare
🧪 Playground Preview: https://element-plus.run/?pr=11677 |
@makai1027 没效果是指鼠标滚轮还是会修改 input-number 的值? |
会啊 不过我自己在组件上添加@wheel.prevent就好了,好奇怪 |
我测试是正常的。 link |
我知道啥问题了 感谢大哥 |
这个看起来是table的问题,当初改动input-number是不是不太好 |
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.