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

Drag test - out of bounds error #23

Open
bogdandynamic opened this issue May 10, 2017 · 2 comments
Open

Drag test - out of bounds error #23

bogdandynamic opened this issue May 10, 2017 · 2 comments

Comments

@bogdandynamic
Copy link

Was trying the Demo project that is shipping with the control and noticed in the Drag test that if I exit the yellow area (with the mouse button still pushed) the blue box resets to position (0, 0) inside the yellow area. Maybe it would be best not to set it to (0, 0) but to leave it at the last position before the mouse cursor left the yellow area.

@cyotek
Copy link
Owner

cyotek commented May 11, 2017

Hello,

Thanks for the report. I just tried this myself but wasn't able to reproduce. Just in case I'm being daft and missing the blindingly obvious, can you specify how you got this to happen? I've tried drawing from scratch, tried all drag handles, movement, it all is working apparently perfectly normally for me.

Thanks;
Richard Moss

@bogdandynamic
Copy link
Author

Hi Richard. Sorry for the late answer. Let me replicate again the problem:
Step 1: DRAG TEST DEMONSTRATION
capture1
Step 2: Left click the selection rectangle. Do not release left click. Start dragging the selection rectangle until you exit the yellow area (while dragging).
capture2
Step 3: When the mouse exits the yellow area (while still dragging) the selection rectangle's position is reset to 0,0 (left top corner).

Is this supposed to happen? In the RESIZABLE SELECTION DEMONSTRATION dragging works good (the selection rectangle sticks to the edge of the yellow zone when mouse exits the zone.

I hope I've explained better this time. 😄

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