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

GridColumnMenu Dropdown opening upwards #579

Open
ahan1986 opened this issue May 11, 2020 · 4 comments
Open

GridColumnMenu Dropdown opening upwards #579

ahan1986 opened this issue May 11, 2020 · 4 comments
Labels
Enhancement New feature of an existing functionality or an improvement of an existing functionality pkg:Grid pkg:Popup

Comments

@ahan1986
Copy link

ahan1986 commented May 11, 2020

I have couple Grids very close to the bottom of the screen. When the screen is small, the Column Menu opens upwards. The issue comes for me when I then click on the 'Filter' or 'Columns', the dropdowns for those open downward, gets longer and goes off screen. Is there a way to customize that so that it also goes up when it hits the bottom of the screen?

image

@simonssspirit
Copy link
Contributor

@ahan1986 the DropDownList should open upwards by default if there is no space:

https://stackblitz.com/edit/react-vibidv?file=app/main.jsx

@ahan1986
Copy link
Author

Hi,
So I did notice that the columnMenu does open up but my issue is when you further click on 'Filter' or 'Column', the already-opened columnMenu extends downwards making it go off screen.

@simonssspirit
Copy link
Contributor

@ahan1986 If I understand correctly the expected result is the ColumnMenu that is already open downwards to flip upwards when expanding the filter section and there is no enough space at the bottom?

cc: @nstoychev

@ahan1986
Copy link
Author

Correct. Seems like when you further expand the already-opened ColumnMenu, it only expands down. I would like to somehow configure the components such as 'GridColumnMenuCheckBoxFilter' to expand upwards when it's too close to the bottom of the screen.

@kdikov82 kdikov82 added the Enhancement New feature of an existing functionality or an improvement of an existing functionality label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature of an existing functionality or an improvement of an existing functionality pkg:Grid pkg:Popup
Projects
None yet
Development

No branches or pull requests

3 participants