Found a fix to a bug, where to post it?


#1

Hey guys,
some days ago I’ve experienced a bug, nobody could help me with.
original thread: Weird navigation bug, with side menu, routing views won’t update

This thread has a similar problem: Tough time with tabs component

I now figured it out, what to change in the ionic.bundle.js to fix this bug. It is one simple line of code in the ionView directive: the lines

$attr.$observe('title', function(val, oldVal) {
      if (val !== initialTitle) {
        navBarCtrl.setTitle(val);
      }
    });

have to be changed to

$attr.$observe('title', function(val, oldVal) {
      if (val !== initialTitle) {
        navBarCtrl.setTitle(val);
      }
        else {navBarCtrl.setTitle(initialTitle);} // line added by claw
    });

Where to post this find and solution?


#2

If theres an issue for it, you can post it on the github issue page. If not, you could open an issue, reference the post, then post your code as a possible fix.