ui-mention icon indicating copy to clipboard operation
ui-mention copied to clipboard

Leverage (or demo) ui-position for dropdown positioning

Open ProLoser opened this issue 10 years ago • 3 comments
trafficstars

This is a suggestion instead of using a wrapping container with position:relative and a dropdown present for every textarea on the page which could incur a sizable performance cost (although leveraging ng-if will help stunt this cost for now).

ProLoser avatar Aug 03 '15 05:08 ProLoser

I wrote a similar plugin way back and leveraged ui-typeahead's dropdown. Check it out: https://gist.github.com/amcdnl/d383c50a761b0d044381#file-template-html-L33 ( sorry the code is a bit of a mess ATM )

amcdnl avatar Sep 28 '15 21:09 amcdnl

If this change is made I'd only request that you keep the option to have a relatively positioned list, I was just wrestling with the angular ment.io which is absolutely positioned and it's causing all kinds of formatting issues (pushes out the page on mobile widths, mentions in a modal form simply don't work etc)

brainTrain avatar Nov 19 '15 17:11 brainTrain

+1

shyamal890 avatar Jun 20 '16 20:06 shyamal890