angular-mentions
angular-mentions copied to clipboard
Feature Request: Append to Body
Currently the dropdown is placed besides the element and not appended to the body. There are some constrains with this as sometimes the dropdown is not visible with overflow:hidden
@dmacfarlane Our team ran into this issue yesterday. It would be fairly straightforward to implement this by using a CDK Overlay. If you'd like help with this, I can try to find some time this weekend to submit a PR.
@dannymcgee I'd be interested to see a PR on how this could be done using a CDK overlay, but I'm also trying to keep dependencies on other packages to a minimum. It would be preferable if there was a simple implementation that did not depend on other packages.
Please add this feature as soon as possible as I also need this feature
Thanks in advance
+1
I was facing this issue some days ago, and I had to implement it by myself at https://github.com/sontx/angular-mentions, it works well with all examples except for text-editor.
There is also a published package @sontx/angular-mention
, just use [mentionConfig]={container: 'body'} to achieve this behaviour. I also added a smart positioning feature for this one (I think the original version does not work well)