Closed kayvanbree closed 2 months ago
Context menu placement is also buggy, see #14.
We could use component injection like shown here to inject
We can even inject it next to the clicked element and use a position strategy.
We can use dependency injection in the ctx directive to get access to the ViewContainerRef to use as a host for dynamic injection. https://stackoverflow.com/a/51729364/982517
Fixed with the update to Angular 18
At this moment, the context menu can appear outside of the page. We should use the Angular Material + its position strategy to place it on the correct place on the page, respecting boundaries.
https://material.angular.io/cdk/overlay/overview