ion-affix icon indicating copy to clipboard operation
ion-affix copied to clipboard

Cloning of transcluded elements fail

Open zoltan-papp opened this issue 10 years ago • 4 comments

Hi @aliok! First of all, thanks for that awesome plugin! I found a fancy issue, since you are using $compile on a cloned element, ngTransclude will fail. e.g: ion-toggle http://codepen.io/zoltan_papp/pen/dovGVo?editors=101 I am trying to solve it, but any help would be appreciated! ;) Cheers!

zoltan-papp avatar Jun 02 '15 13:06 zoltan-papp

Heya!

I think I may have run into a similar issue as yourself. Seems using ng-bind rather than {{someMustaches}} might fix it? http://codepen.io/anon/pen/pJPZJz

Looks like the ion-toggle is actually doing its job, but the "Affixed stuff true/false" isn't being updated because when it's compiled it becomes a static string and the data binding is lost.

nahanil avatar Jun 08 '15 18:06 nahanil

Hi there! Unfortunately that seems only a partial solution for me. :( If you open the console, you can see that it's still crying about ngTransclude.

zoltan-papp avatar Jun 09 '15 11:06 zoltan-papp

@texh @aliok Please review https://github.com/aliok/ion-affix/pull/9

zoltan-papp avatar Jun 10 '15 08:06 zoltan-papp

This project is not maintained anymore. We cancelled our free-time hobby project with Ionic because of too much changed recently in our personal lives and we don't have enough time at all.

I would be happy to reference anyone who would fork the project and maintain it.

aliok avatar Aug 07 '15 10:08 aliok