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

Hiding and showing the footer

2 Answers 208 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul McNamara
Top achievements
Rank 1
Paul McNamara asked on 11 Nov 2013, 03:51 PM
We have the requirement to conditionally hide and show the footer nav bar (based on whether anything is selected in a list view). We've tried various approaches to this but have not yet found a 100% working solution. Currently we are setting "display: none" on the footer element but the footer still shows during slide transitions. Do you know of a way to prevent it showing during tranisitions?

2 Answers, 1 is accepted

Sort by
0
Paul McNamara
Top achievements
Rank 1
answered on 12 Nov 2013, 11:53 AM
I managed to get this working reliably by also hiding the navbar div within the footer. Also I set the height explicitly for Android as hiding and showing seemed to cause the height to end up as 0.
0
Petyo
Telerik team
answered on 12 Nov 2013, 12:37 PM
Hi Paul,

this is correct - the header and footer elements are being shown/hidden when transitions occur. As you have noticed, you can work around this problem in several ways, the simplest one being hiding the footer contents (and not the footer element itself). You can also experiment with visibility: hidden.

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