opitzconsulting / jquery-mobile-angular-adapter

jquery mobile angular adapter
MIT License
517 stars 114 forks source link

ngm-if attribute does not refresh jQuery Mobile content #24

Closed bender-2000 closed 12 years ago

bender-2000 commented 12 years ago

Attribute widget @ngm-if can be used for adding and removing elements from the DOM. An use case has been found in which element just added is not refreshed as jQM elements dynamically added need to, causing not enhanced elements to appear on screen.

The following example shows this effect:

http://jsfiddle.net/LucasG2000/Ev4AN/

This is the structure of the example and how to reproduce it:

I suppose that a refresh method is missing somewhere.

Software versions used:

Best regards.

tbosch commented 12 years ago

Hi, thanks for submitting, this needs to be fixed! Did you try try with angular 1.0.0-rc3? I have tested the jQuey Mobile Adapter 1.0.7-rc1 only against 1.0.0-rc3... However, I will update soon!

Tobias

bender-2000 commented 12 years ago

Hi Tobias,

Thanks for the prompt reply. Yes, this happens with angular 1.0.0-rc3 too. Looking forward for next update :)

Best regards.

tbosch commented 12 years ago

Just to let you know: I am working on a redesign of the adapter to improve the performance. This will also fix this issue, and should be finished in the next two weeks. I'll keep you updated.

Tobias

bender-2000 commented 12 years ago

Great to know !

On May5, 2012, at 11:03 AM, Tobias Bosch wrote:

Just to let you know: I am working on a redesign of the adapter to improve the performance. This will also fix this issue, and should be finished in the next two weeks. I'll keep you updated.

Tobias


Reply to this email directly or view it on GitHub: https://github.com/tigbro/jquery-mobile-angular-adapter/issues/24#issuecomment-5525543

tbosch commented 12 years ago

Updated the js fiddle with current angular-version, jquery-mobile and current snapshot of jqm ng adapter: http://jsfiddle.net/Ev4AN/1/