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

View Title changes after I hit the back button

1 Answer 35 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 26 Aug 2015, 08:55 AM

Hello

For some reason view title in navbar on android changes if I hit the back button.

I have a home view

<div data-role="view" id="home" data-layout="mainLayout" data-init="home.init" data-show="home.show" data-stretch="true" data-title="">

and a settings view

<div data-role="view" id="settings" data-layout="mainLayout" data-init="settings.init" data-stretch="true" data-title="Settings">

 

When I hit the back button on a settings view, view title on my home page changes to "Settings", and it should be empty. I dont get it.

 ​Here is the layout I am using

 

<div data-role="layout" data-id="mainLayout">
          <div data-role="header">
              <div data-role="navbar">
                  <a data-role="backbutton" data-align="left" data-icon="customback"></a>
                  <a data-role="button" data-align="left" data-icon="custommenu" data-click="home.toggleMenu"></a>
                  <span data-role="view-title"></span>
                  <a data-role="button" data-align="right" data-icon="custompush"></a>
                  <a data-role="button" data-align="right" data-icon="customfacebook"></a>
              </div>
          </div>
    </div>​

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 28 Aug 2015, 07:34 AM
Hi Patrick,

Sorry for the trouble; this seems like a bug on our side. Most likely, we haven't found it so far due to the rarity of the scenario. I managed to reproduce it here. This is the bug report I logged.

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