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

Removed unecessary dropdown container on MultiSelectFieldInput #9116

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

lucasbordeau
Copy link
Contributor

There was an unecessary dropdown menu container div that was conflicting with the recent refactor of dropdowns. The OverlayContainer component is now at the root of the tree of a cell.

@lucasbordeau lucasbordeau changed the title Removed unecessary dropdown container Removed unecessary dropdown container on MultiSelectFieldInput Dec 18, 2024
@lucasbordeau lucasbordeau requested a review from thomtrp December 18, 2024 10:57
@lucasbordeau lucasbordeau self-assigned this Dec 18, 2024
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Removed unnecessary dropdown container from MultiSelectInput component, simplifying dropdown positioning by leveraging the OverlayContainer component's built-in positioning logic.

  • Removed StyledRelationPickerContainer from /packages/twenty-front/src/modules/ui/field/input/components/MultiSelectInput.tsx, eliminating redundant absolute positioning
  • Dropdown positioning now handled by /packages/twenty-front/src/modules/ui/layout/overlay/components/OverlayContainer.tsx with built-in backdrop filtering and z-index management

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit d895468 into main Dec 18, 2024
22 checks passed
@charlesBochet charlesBochet deleted the fix/dropdown-multi-select branch December 18, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants