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: Enable Vertical Scrolling for Company Filter Dropdown #8828

Closed
wants to merge 1 commit into from

Conversation

mdrazak2001
Copy link

@mdrazak2001 mdrazak2001 commented Dec 2, 2024

Fixes #8827

Screen.Recording.2024-12-02.133204.mp4

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

Adds vertical scrolling functionality to the company filter dropdown by wrapping dropdown content in a ScrollWrapper component to enable access to all options.

  • Added ScrollWrapper component in /packages/twenty-front/src/modules/object-record/object-filter-dropdown/components/MultipleFiltersDropdownContent.tsx to enable vertical scrolling
  • Implemented with specific context provider name for dropdown menu items to maintain proper scroll behavior

💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!

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

@@ -41,7 +42,7 @@ export const MultipleFiltersDropdownContent = ({
const shoudShowFilterInput = objectFilterDropdownFilterIsSelected;
Copy link
Contributor

Choose a reason for hiding this comment

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

syntax: 'shoudShowFilterInput' is misspelled (missing 'l')

Copy link

github-actions bot commented Dec 2, 2024

Welcome!

Hello there, congrats on your first PR! We're excited to have you contributing to this project.
By submitting your Pull Request, you acknowledge that you agree with the terms of our Contributor License Agreement.

Generated by 🚫 dangerJS against 6b5836c

@lucasbordeau
Copy link
Contributor

@mdrazak2001 Could you please put the scroll wrapper so that we only have the menu item part scrollable ?

Capture d’écran 2024-12-02 à 10 06 22

@Bonapara
Copy link
Member

Bonapara commented Dec 2, 2024

Is it a regression? Can't reproduce on V33.5

CleanShot.2024-12-02.at.10.22.38.mp4

@mdrazak2001
Copy link
Author

mdrazak2001 commented Dec 2, 2024

Is it a regression? Can't reproduce on V33.5

CleanShot.2024-12-02.at.10.22.38.mp4

@Bonapara
Thanks for looking into this. I’m currently on the latest main branch, and the issue persists for me.
Was this problem addressed in an upcoming release or an internal branch?
If the issue is resolved in the latest version you’re testing on, I’d be happy to close this PR and the tagged Issue, Please Let me know the same.
Thanks!

@Bonapara
Copy link
Member

Bonapara commented Dec 2, 2024

@lucasbordeau maybe you know?

@lucasbordeau
Copy link
Contributor

Yes it's a regression, I can reproduce, I could take it in my PR because I'm currently fixing a lot of related regressions on dropdown.

Let's close this one, thank you for your understanding @mdrazak2001

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.

Vertical Scroll Missing in "Company" Filter Dropdown
3 participants