1. #1
    Sencha User
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    22
    Vote Rating
    0
    Answers
    1
    pille72 is on a distinguished road

      0  

    Default Unanswered: List itemtap opens link in detailpanel - How can i fix

    Unanswered: List itemtap opens link in detailpanel - How can i fix


    Hello folks,

    got a problem which i can't solve. I have a simple listview, put on a container, where i can click on. The itemtap Event opens a detailpanel, which will be created and added to the container. To save performance i always delete views and if they are needed again i create a new instance and add it to the container.

    So if I click on an item on the listview suddenly safari jumps off and opens a new link. Why? Because I have a detailpanel with a link in a text. I figuered out, that if i click on the right point on the list item where later the link will be rendered, the link opens in safari. How can this be? The panel with the link on it isn't in the DOM! It will be created after the itemtap...

    It's really confusing, and i don't know how to fix...maybe it's a bug?

    UPDATE: If i add the link after a timeout of 300ms it still opens the link in safari, if i use 400ms timeout, the detailpanel opens correctly and no link will be opened...

    Thanks for help!

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    22
    Vote Rating
    0
    Answers
    1
    pille72 is on a distinguished road

      0  

    Default


    anyone has a solution?