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

How can I edit the drag handle button? #7

Open
aydinvivik opened this issue May 7, 2024 · 7 comments
Open

How can I edit the drag handle button? #7

aydinvivik opened this issue May 7, 2024 · 7 comments

Comments

@aydinvivik
Copy link

Hello, the plugin works fine for me, but can I edit the button? For example, I want to add a popover that I will give different actions to delete when clicked. I also want to add different buttons next to it.

@NiclasDev63
Copy link
Owner

Currently there is no support for this function.
I would recommend that you fork this repo (or copy and paste the code into your project) and make the desired changes yourself.

But it sounds like a useful feature, so maybe I'll implement it myself in the near future and then upload a new version of the package to npm.

@aydinvivik
Copy link
Author

thank you very much, it would be a very useful feature. I'll try to edit it myself until the update comes.

@chanthus
Copy link
Contributor

I need to do something similar so I had a go at being able to specify custom drag handles: #10

@NiclasDev63
Copy link
Owner

Just published the new version on npm @aydinvivik

@aydinvivik
Copy link
Author

Just published the new version on npm @aydinvivik

Great, thank you very much.

@gulugulu-cy
Copy link

I want to add a popover that I will give different actions to delete when clicked. I also want to add different buttons next to it.
Has this been implemented yet?

@ImSingee
Copy link

The handleBySelector is a little tedious. I believe it's possible to just pass a ReactNode to be used as the handle

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

5 participants