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

click widget jump position #9

Open
callmejm opened this issue Nov 8, 2021 · 2 comments
Open

click widget jump position #9

callmejm opened this issue Nov 8, 2021 · 2 comments

Comments

@callmejm
Copy link

callmejm commented Nov 8, 2021

I facing an issue when first action is not "drag" is "click", the widget will jump to top left position, below is the video

bandicam.2021-11-08.10-51-15-293.mp4
@john730
Copy link

john730 commented Apr 3, 2023

hello @callmejm I have tried to make it not jump by doing the following:

inside the widget, just add this:
touchDelay: Duration(milliseconds: 100),

e.g.

DraggableWidget( 
 touchDelay: Duration(milliseconds: 100),
 .....)

@czbill
Copy link

czbill commented May 31, 2023

image

"hardTop" initialization did not take into account the position difference. Adding these two lines of code can solve the problem.

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

3 participants