-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Strange behavior when re-ordering options of a select field #6103
Comments
To resolve the issue with the offset during dragging in the select field options, follow these steps:
References/packages/twenty-front/src/modules/settings/data-model/components/SettingsObjectFieldSelectForm.tsx
|
@FelixMalfait can I work? |
@Faisal-imtiyaz123 since you are already assigned to the other issue, let's tackle it first. But feel free to raise a PR for this one after! |
I raised a P.R for that one. Can I work here now? |
Sure thanks @Faisal-imtiyaz123! |
Uploading Screen Recording 2024-07-10 at 10.56.50 PM.mov… @FelixMalfait I can re-order things. Could you provide more description of the problem please. |
@Faisal-imtiyaz123 the problem is the feeling you get when you drag and drop. For me the mouse is "detached" from the element I'm dragging (I.e. my mouse is not where the draggable element is, even though if I move it by x pixels the draggable element moves by x pixel). I think the screen recording upload fail. Does it work perfectly on your side? |
@FelixMalfait as you can see I am trying to reorder (on the right of the screen), i feel the cursor is attached though. Screen.Recording.2024-07-10.at.10.56.50.PM.mov |
@Faisal-imtiyaz123 the screenshot I posted is from the settings page. In your screenshot you're trying to reorder cards in a kanban, not to re-order the steps of a select field. Go to /settings/objects/opportunities/stage to edit the stage field for example :) |
@FelixMalfait I am sorry for misunderstanding the issue and taking up your time. This is how my settings look like, unfortunately don't have an `Object` tab |
No problem. The tab is called "data model", what I gave was the url :) |
@FelixMalfait In addition to |
Go to a select field, for example the opportunity stage field.
Try to re-order the fields, you'll see the behavior is strange. There's an offset, the mouse isn't directly attached to the item you're dragging.
The text was updated successfully, but these errors were encountered: