[]Button连续点击触发MOUSE_OUT事件问题
项目中给“Button”分别添加了MOUSE_OVER, MOUSE_OUT,CLICK事件,业务需求是鼠标移到按钮上显示悬浮框,移出按钮关闭悬浮框,但现遇到一个问题,鼠标正常从按钮上移入,移出都没问题,只要在按钮上连续点击就会触发MOUSE_OUT事件,这是什么情况?
日志如下:=========================================
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: click
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: mouseout
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: click
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: mouseout
日志如下:=========================================
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: click
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: mouseout
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: click
button width: 155, height: 155
mouse position, x: 374, y: 835
event type: mouseout
没有找到相关结果
已邀请:
要回复问题请先登录
6 个回复
Aar0n
赞同来自:
东南西北风
赞同来自:
Aar0n
赞同来自:
东南西北风
赞同来自:
Aar0n
赞同来自:
kura
赞同来自: