orthlieb / widget_combobox

Alloy combobox widget (single selection)
Other
18 stars 21 forks source link

Dont work in SDK 3.1.2.GA and 3.1.3.GA. #1

Open pedrobrasileiro opened 11 years ago

pedrobrasileiro commented 11 years ago

it not open picker, in iOS 6.1 and iOS 7. I used before and worked fine, but not now...

orthlieb commented 11 years ago

I'll be looking into porting over an app to iOS 7 shortly. I'll update the widget after I knock the bugs out. Thanks for bringing this to my attention.

On Thu, Sep 19, 2013 at 10:14 AM, Pedro Brasileiro <notifications@github.com

wrote:

it not open picker, in iOS 6.1 and iOS 7. I used before and worked fine, but not now...

— Reply to this email directly or view it on GitHubhttps://github.com/orthlieb/widget_combobox/issues/1 .

iantearle commented 10 years ago

Any news on the update for this?

orthlieb commented 10 years ago

Hi Ian, I'm using this widget successfully in at 312 GA on iOS 7 and not sure what issues you're running into. Can you be more explicit with what you're seeing?

Sent from my iPhone

On Oct 29, 2013, at 8:19 AM, Ian Tearle notifications@github.com wrote:

Any news on the update for this?

— Reply to this email directly or view it on GitHub.

iantearle commented 10 years ago

The picker isn't opening when clicking on the field. I'm on mavericks so im not getting any info in the terminal currently so cant debug it as well as normal. But saw this issue and thought it may be a global problem - maybe not?

Running

3.1.3.GA 1.2.2 Alloy iOS7 Simulator

iantearle commented 10 years ago

Ok, so I have it working. Almost. I can see the toolbar slide up, but then it disappears.

Also. The docs are out of date.

This vital information from your example app:

$.distance.init($.getView());
$.distance.choices = distances;

is missing

iantearle commented 10 years ago

Figured it out. Doesnt like vertical layout.

mcvendrell commented 10 years ago

I found the same error, but I can be more specific (2 hours testing to found it):

(Environment: Mavericks with Ti 3.1.3)

You can test it easily, just make a new tabbed project and in any tab, use this code:

< Tab > < Require src="tab1" / > < /Tab >

In the tab1.xml you can use your example docs code and you will find that the picker don't work well: sometimes appears 2 times (and displaced from bottom), sometimes doesn't appear...

There is a WARN error while this happens:

New layout set while view [object pickerview] animating: Will relayout after animation

If you put code directly on the Tab, instead a require, all works well (iOS only, in Android works well).

I hope you can check it, it is a very good widget.