Skip to content

Issue Cannot destructure property 'clientX' of 't' as it is undefined #1546

Closed

Description

@minhhungit

Hello team,
The error appear when we drag widget item by fast click and throw mouse

Error message

Uncaught TypeError: Cannot destructure property 'clientX' of 't' as it is undefined.
    at i._hasMoved (dd-resizable-handle.ts:106)
    at i._mouseMove (dd-resizable-handle.ts:80)

Attached gif image to reproduce

drag-error1

Activity

  1. minhhungit commented on Dec 31, 2020

    @minhhungit
    Author

    Or we can reproduce it by left-click one time on the drag icon (don't hold the click), drag mouse and left click again.
    Sometime it will throw error

  2. minhhungit commented on Dec 31, 2020

    @minhhungit
    Author

    more gif

    drag-error-reproduce

  3. added 2 commits that reference this issue on Jan 3, 2021
    15b5e11
    2d47710
  4. adumesny commented on Jan 3, 2021

    @adumesny
    Member

    fixed in next 3.1.3 release. Don't forget to contribute, especially since you are selling dashboard based on my code...

  5. minhhungit commented on Jan 3, 2021

    @minhhungit
    Author

    Thank you for your fixing @adumesny, I'm still new on this library so still lack of knowledge. I will try to contribute in future !

    One more question, like you said I am going to sell dashboard feature which is using gridstack as core, I want to ask if I can do it or any requirements I need to complete, thank you and happy new year !

    Jin

  6. minhhungit commented on Jun 16, 2021

    @minhhungit
    Author

    Hi @adumesny I'm trying to donate gridstack as promise but pay.pal fee is too high, donate 10$ but take ~5$ fee (~50%), is there another way to donate like "buy me a coffee". I also see "venmo" donate link but it also does not work for me. Thank you

  7. minhhungit commented on Jun 16, 2021

    @minhhungit
    Author

    image

  8. adumesny commented on Jun 16, 2021

    @adumesny
    Member

    you should be able to done as gift/friend in paypal which has no fees (other than conversion fees ?) if linked to your bank accound (instead of credit card). I'm not familiar how it works from overseas.
    Usually I recommend venmo (owned by paypal) as they do no have fees (here is the USA at least) as it's between friends.

  9. minhhungit commented on Jun 16, 2021

    @minhhungit
    Author

    @adumesny See, it's 5$ pay.pal fee, also I am not USA I can not registry a venmo account

    Can you please create new donate account like "buy me a coffee" or "ko-fi" I guess it's easier for global users

    image

  10. adumesny commented on Jun 16, 2021

    @adumesny
    Member

    what do you mean by: new donate account like "buy me a coffee"
    you mean another paypal account ? not sure how it would be different and if I can can create multiple accounts to my name/bank. Let me research oversea fees, as I had others have issues as well (though it wasn't fixed $5 which seems steep).

    might be best to use slack for chatting...

  11. adumesny commented on Oct 1, 2023

    @adumesny
    Member

    @minhhungit I've added github sponsor - so yet another way to donate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions