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 scroll wrapper #8349

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Fix scroll wrapper #8349

merged 1 commit into from
Nov 6, 2024

Conversation

lucasbordeau
Copy link
Contributor

Fixed scroll wrapper with conditionnal rendering

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

Improved visibility of "No result" message in filter dropdown by moving it outside the scrollable area for better user experience.

  • Moved <MenuItem text="No result" /> outside of <ScrollWrapper> in /packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/ObjectFilterDropdownOptionSelect.tsx
  • Conditionally renders scrollable content only when options exist, preventing empty scroll areas

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

@lucasbordeau lucasbordeau merged commit e36363f into main Nov 6, 2024
19 checks passed
@lucasbordeau lucasbordeau deleted the fix/filter-on-select-type branch November 6, 2024 09:05
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.

2 participants