Skip to content

When using in Datagrid with scrolling the menu is not adding scroll position #19

@Who-Code

Description

@Who-Code

When i integrate the menu in an Datagrid with pagination and scrolling down the menu is not generated at the correct position instead it is rendered at the top.

I managed to do a workaround calculating a new top position including scroll top:
document.getElementById('context-menu').style.top = (parseInt(document.getElementById('app').scrollTop) + parseInt(document.getElementById('context-menu').style.top.replace('px', ''))) + 'px';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions