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

[FIX] Allow the usage of OnDrag event by returning the target element #162589

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

psanou
Copy link

@psanou psanou commented Apr 19, 2024

Description of the issue/feature this PR addresses:
Specify an onDrag method in UseSortable. This will allow us to access and apply some customization when dragging an element

Current behavior before PR:
Unable to use onDrag method in useSortable

Desired behavior after PR is merged:
Allow to use onDrag method in useSortable and access the targeted element


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Need to specify an onDrag method in UseSortable. This will allow us to
access and apply some customisations when dragging an element
@robodoo
Copy link
Contributor

robodoo commented Apr 19, 2024

@psanou psanou requested a review from fdardenne April 19, 2024 11:33
@C3POdoo C3POdoo requested review from a team and BastienFafchamps and removed request for a team April 19, 2024 11:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants