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

在有滚动条的Panel内部操作可选中文本的bug #24

Closed
tinysnake opened this issue Nov 5, 2013 · 2 comments
Closed

在有滚动条的Panel内部操作可选中文本的bug #24

tinysnake opened this issue Nov 5, 2013 · 2 comments

Comments

@tinysnake
Copy link

同样的在Issue#22里面提到过的UI布局:

<Panel layers="1,1,0" layer="1" x="0" y="150" compId="12" width="500" height="250" vScrollBarSkin="png.comp.vscroll" var="box">
    <Label text="label" layer="1" multiline="true" compId="11" width="486" wordWrap="true" var="lb_result" name="lb_result" selectable="true"/>
</Panel>

当Panel出现滚动条的时候,我使用鼠标单击可选中的Label, 尝试拖动鼠标选中Label中的文字却引发拖动Panel的行为,导致Label随同我鼠标一起移动,使我无法选中我想选中的文本内容.
我简单地调试了一下,发现我单击Label移动鼠标却触发了ScrollBar的OnSliderChange事件,感觉有点神奇..

@tinysnake
Copy link
Author

另,我发现TextArea在出现滚动条以后也会有这个bug

@yungzhu
Copy link
Owner

yungzhu commented Aug 6, 2014

这是鼠标手势操作(手机上使用的),可关闭

@yungzhu yungzhu closed this as completed Aug 6, 2014
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

2 participants