Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20259] First button in the toolbar does not show any visual feedback on click

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-09-19T22:35:21.000+0000
Affected Version/sRelease 5.2.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-5.2.0, reprod
ReporterJosh Longton
AssigneeUnknown
Created2016-01-20T23:56:19.000+0000
Updated2019-09-19T22:35:21.000+0000

Description

When creating a simple application with a "rightNavButton" at the top and a "toolbar" at the bottom, the first button on the left shows no visual feedback when clicked. *Steps to reproduce:*

Use the app.js file below.

*Actual :* The first button shows no visual feedback when clicked *Expected:* The pop-up appears withe the option for an alloy app. (see image) *App.js*
var topBtn = Ti.UI.createButton({
      title: "Top Btn"
});

var btn1 = Ti.UI.createButton({
      title: "Btn1"
});

var btn2 = Ti.UI.createButton({
      title: "Btn2"
});

var btn3 = Ti.UI.createButton({
      title: "Btn3"
});

flexSpace = Titanium.UI.createButton({
    systemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE
});

var toolbar = Titanium.UI.iOS.createToolbar({
       items:[btn1, flexSpace, btn2, flexSpace, btn3],
       bottom:0,
       borderTop:true,
       borderBottom:false
});
var win = Ti.UI.createWindow({
    rightNavButton: topBtn,
    title: "Right Btn Test"
});
var nav = Ti.UI.iOS.createNavigationWindow({window:win});
win.add(toolbar);
nav.open();

Comments

  1. Angel Petkov 2016-01-21

    Seems like it works on 5's simulators both for iOS 9 and 9.2
  2. Lee Morris 2017-06-13

    I am able to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170609091155 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131
  3. Alan Hutton 2019-09-19

    Unable to reproduce. Axway Appcelerator Studio, build: 5.1.4.201909061933  macOS : 10.14.6 Node.js Version : 8.9.1 npm Version : 5.5.1 Appcelerator CLI : 7.1.1 Titanium CLI CLI Version : 5.2.1 node-appc Version : 0.2.49 Titanium SDKs : 8.2.0.GA

JSON Source