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

HeaderMenu breaks Grid scrolling #5

Open
nsimpson-elv opened this issue Jan 7, 2025 · 1 comment
Open

HeaderMenu breaks Grid scrolling #5

nsimpson-elv opened this issue Jan 7, 2025 · 1 comment

Comments

@nsimpson-elv
Copy link

If you create a grid wrapped in a HeaderMenu, the grid stops obeying the container height and no longer scrolls if the container height is smaller than the grid.

<div id="messagesTable" class="w-full h-1/2">
    <Material>
        <HeaderMenu {api}>
            <Grid
                {data}
                {columns}
                resizable
                init={initApi}
                autoRowHeight 
                rowStyle={getRowStyle}
                multiselect={true} 
            />
        </HeaderMenu>
    </Material>
</div>

So you see this (wrong):
image

Instead of this (correct)..

image

Removing the HeaderMenu fixes it, but of course then you lose the header menu functionality.

@nsimpson-elv nsimpson-elv changed the title HeaderMenu HeaderMenu breaks Grid scrolling Jan 7, 2025
@Zwillinge
Copy link

Hi, I can confirm the issue, we will handle it soon. Thank you for pointing it out

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

No branches or pull requests

2 participants