This is a migrated thread and some comments may be shown as answers.

Rendering with angularjs directive ng-hide

1 Answer 84 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Igor
Top achievements
Rank 1
Igor asked on 13 Apr 2015, 04:43 PM

 Incorrect visualization, how can I fix it?

 http://dojo.telerik.com/ejUrO

 

Thanks for the help

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 15 Apr 2015, 10:31 AM

Hello Igor,

 

Please note that ng-show and ng-hide are directives that are not optimized for Kendo UI Widgets, and can cause the behavior that you are seeing. If you think that we should add support for ng-show and ng-hide you can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release. As a workaround I would suggest you to use the jQuery show()/hide() methods, and make sure that you are not initializing the widgets from hidden elements, as this might cause incorrect sizing issues.

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Gantt
Asked by
Igor
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or