Page 1 of 4

select list not closing after item selected

Posted: Thu May 01, 2014 5:36 am
by Bob Fludder

Have a problem with a select component in a collapsible set. When I click on it to change the selection the choices open but when I select one of them an on change event fires (as it should) but the choices all stay on the screen. Normally when you choose one the select list closes and the select changes to the value you chose. I have 3 of these. the two in the collapsible set don't work but the one outside does. I also found that if I change it to a native menu then it also works..but the text for the choices is too small for me to use this (unless you can suggest how to make this bigger)


select list not closing after item selected

Posted: Thu May 01, 2014 5:41 am
by Bob Fludder

This is the list that shows but stays on the screen even after being selected.

Image


select list not closing after item selected

Posted: Thu May 01, 2014 6:03 am
by Nikita

Hi Bob,

I can't reproduce your issue. I put select component inside collapsible set and it works. Here are screenshots:
http://www.screencast.com/t/zbNBWu1L
http://www.screencast.com/t/n2SpWr701w
http://www.screencast.com/t/1BorfAHW


select list not closing after item selected

Posted: Thu May 01, 2014 6:10 am
by Bob Fludder

Figures.. and now I'm finding that on a multi-select box I have no way of closing it. There used to be an "x" in the top corner but nothing any more.
Image


select list not closing after item selected

Posted: Thu May 01, 2014 6:13 am
by Bob Fludder

Could it be because I went to version 2 of the libraries, then changed back to 1.2 ? I have closed and re-opened the app between times as well but I couldn't stay on v2 because it caused me way too many problems (especially with custom services)


select list not closing after item selected

Posted: Thu May 01, 2014 6:53 am
by Nikita

Let's try relogin to appery.io and clean up browser cache. Also you can try open your project in another browser.


select list not closing after item selected

Posted: Thu May 01, 2014 7:08 am
by Bob Fludder

Tried firefox but it doesn't like the fact I'm using sqlite.. Reverted to Chrome, cleared the cache and still doesn't work. Also tried the testing app on my phone and also gives me the same problem. I know if I drag the select list out of the collapsible it works. I'm going to add a new collapsible and drag some stuff around and see if it fixes it.


select list not closing after item selected

Posted: Thu May 01, 2014 7:36 am
by Bob Fludder

very strange. created a new collapsible block, dragged all the components into it. Tested that and it worked. Then I renamed them to match the old block etc and now it doesn't work again.


select list not closing after item selected

Posted: Thu May 01, 2014 7:54 am
by Bob Fludder

OK. Looks like its related to my mappings somehow. The items in the collapsible block are created from a generic service. ie loaded from a sqlite database. i could have anything from 1 to 5 entries (or maybe more). If I have the following mapped (the bit I circled) then the select list doesn't work. If I take it out the select list works but won't allow me to add extra entries in the collapsible block.
Image


select list not closing after item selected

Posted: Thu May 01, 2014 8:19 am
by Nikita

Do you get any errors in browser console when using mapping?