uirecorder
uirecorder copied to clipboard
关于在某些场景下连续悬停模式不生效的问题
最近碰到一个问题,就是发现在某些场景下无法正常使用uirecorder的悬停模式。具体表现为进入悬停模式后(Ctrl+点击“添加悬停”),点击一级菜单,没有问题,但是准备继续点击二级菜单时,二级菜单缩回,无法进行连续悬停操作。而同步浏览器里面并没有发生此现象。
上述问题在以下示例中可复现(提示:菜单在左上角): http://sc.chinaz.com/jiaobendemo.aspx?downloadid=4201490915694
二级菜单是不是通过CSS实现的?
我们目前的连续悬停模式只支持JS实现的二级菜单,CSS实现的暂时还没想到好的方案阻塞
关于连续悬停模式,我有个思路:
当开启连续悬停模式后,鼠标的点击就变成录制悬停,这样就不用担心移动鼠标导致一级菜单缩回了。
关闭悬停模式后,点击恢复成录制click
悬停模式最好能够支持快捷键进行开关,不然每次鼠标都需要移出来开关悬停模式,再移回去的时候可能又会触发菜单关闭。
今天用最新版本也遇到同样的问题,有一个临时的解决方法: 按住Ctrl,点击“Add Hover”,然后松开Ctrl; 点击Add Sleep,时间写小一点,例如100ms,点确定; 这时候就可以对悬浮的菜单录制操作了,菜单不会缩回;
This is the translated issue comment: @TerryGee
Today with the latest version also encountered the same problem, there is a temporary solution: Hold Ctrl, click "Add Hover", and release Ctrl; Click Add Sleep, the time is written smaller, for example, 100ms, click OK; At this time, the hovering menu can be recorded and the menu will not be retracted.
今天用最新版本也遇到同样的问题,有一个临时的解决方法: 按住Ctrl,点击“Add Hover”,然后松开Ctrl; 点击Add Sleep,时间写小一点,例如100ms,点确定; 这时候就可以对悬浮的菜单录制操作了,菜单不会缩回;
请问下我点击延时之后,就没有悬停的小绿框了,是我的理解有问题嘛
This is the translated issue comment: @ZOUJIELynn
Today with the latest version also encountered the same problem, there is a temporary solution: Hold down the Ctrl, click on the "Add Hover", and then release the Ctrl; Click the Add Sleep, time to write smaller, for example 100ms, point to determine; This can be time for the suspension of the recording operation menu, the menu is not retracted;
After I ask my clicks delay, there is no little green box hovering, and I understand there is a problem Well