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

[Bug Report] Input Number计数器触控板点击bug #19088

Open
chen3stones opened this issue Mar 31, 2020 · 6 comments
Open

[Bug Report] Input Number计数器触控板点击bug #19088

chen3stones opened this issue Mar 31, 2020 · 6 comments

Comments

@chen3stones
Copy link

Issue 预览
Element UI version
2.13.0

OS/Browsers version
windows10 18362.720/chrome 80.0.3987.149

Vue version
2.6.11

Reproduction Link
https://codepen.io/chen3stones/pen/gOpEORg

Steps to reproduce
本人适用了两台笔记本(dell, magicbook)进行测试,使用chrome/edge打开网站,在使用触控板点击第一个计数器的样例加号或者减号的时候,点击一次,会增加或者减少两次。鼠标不会出现这样的情况。

What is Expected?
点击一次增加或减少一次

What is actually happening?
点击一次增加或减少两次

@chekykun
Copy link

chekykun commented Apr 1, 2020

你触控板的问题

@miyuesc
Copy link

miyuesc commented Apr 2, 2020

你触控板的问题

官网例子也有这个问题,并不是触控板本身的问题。你可以试一试

@chen3stones
Copy link
Author

你触控板的问题

我使用了两台电脑测试,不知道别人的电脑是怎样的,我的电脑触控板点击都有这样的问题

@FE-runner
Copy link

FE-runner commented Jun 16, 2021

same window taptouch都有这个问题

this.$refs.inputNumber.increase = __.m.throttle.bind(this.$refs.inputNumber,this.$refs.inputNumber.increase.bind(this.$refs.inputNumber));
this.$refs.inputNumber.decrease = __.m.throttle.bind(this.$refs.inputNumber,this.$refs.inputNumber.decrease.bind(this.$refs.inputNumber));

改写了组件内触发方法

// __.m.throttle 是一个 节流函数 500ms执行一次

@klgd
Copy link

klgd commented Aug 24, 2021

我的触控板也是这样的问题

@wmlgl
Copy link

wmlgl commented May 23, 2024

计数器按钮在大型3d应用中无法触发

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

6 participants