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';
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';