Results 1 to 2 of 2

Thread: Ext.navigation.View.pop() is triggering the "show" event on the popped element

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default Ext.navigation.View.pop() is triggering the "show" event on the popped element

    I'm trying to use a navigation view to handle transitions in my app but I'm having trouble with the "show" event on the child views.

    I'm trying to detect when the child components become active so that I can pass some info to the native container. But when I call navigationView.pop() it's triggering the show event on both the newly active view (desired) and the popped view (not desired).

    Is there a better event to be listening for?

  2. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I'd really like to hear the official way to go about this but for now I put a listener in the navigation view's controller for the activeitemchange event and then fired a custom event to the newly activated card that I'm then listening for instead of the show event.

    Is there a built-in way to do this? Or is my hack the right way to go about it?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •