facebook

2.1-Preview 1: Hidden Buttons Not Hidden

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #328920 Reply

    Unknown Author
    Participant

    I have an iOS app in which two buttons are on top of one another. One is always “hidden”. Toggling between them, I can get multiple text and multiple JavaScript functionaliy from what appears to the user to be only one button.

    Under 2.1-1, when I click, both button actions are occuring at the same time – as if I just pressed both buttons at the same time. The “visible” and “hidden” attributes are not being compiled properly. It works fine in Test Center, but does not compile properly.

    #328942 Reply

    Hi 1thinchip,

    I created an design example to replicate your issue. But didn’t have success. Please take a look at it and might be helpful for you. In case you think that we need to review your design, please send them us.

    Attachments:
    You must be logged in to view attached files.
    #328979 Reply

    Unknown Author
    Participant

    Interesting.

    I’m not using .show() and .hide(). I’m using .css(‘visibility’,’visible’) and .css(‘visibility’,’hidden’).

    Maybe I should change my code to .show() and .hide()?

    -1TC

    #329137 Reply

    Hi 1thinchip,

    I’ve talked with dev team, and they suggest to avoid the use of hide/show functions because you can achieve undesired results using them. As I said I couldn’t replicate your issue, I had similar results but no the expected, they are looking into the problem and a workaround while we have a fix is use single button and change its text based on the state of global flag.

    #329146 Reply

    Unknown Author
    Participant

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: 2.1-Preview 1: Hidden Buttons Not Hidden

You must be logged in to post in the forum log in