Closed deshumake closed 1 year ago
@deshumake sounds like a good change, could you make a PR? If you do so make it off of the branch development
@davidkircos I made the PR for adding the functionality described above, but the questions about the code still stand if anyone knows
@deshumake check out our new context menu and let me know if you believe this issue is now solved. https://app.quadratichq.com/
This looks and works beautifully!
In RightClickMenu.tsx, there is this div in the beginning of the return to ensure that the onClose() method is called
Left click problem: I tried deleting this div so that clicks would go through to the actual grid, and the context menu still closes. Is this div really necessary then?
Right click problem: Additionally, clicking with the right mouse button should also select a cell, so that copying and pasting work as expected.
That issue is being caused by this chunk of code in the onPointerDown() of usePointerEvents.ts
Could someone give me some more context for this function?
The functionality I'm proposing in the Right Click Problem above is resolved by deleting lines 169-171