question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Controls Stop Responding After Resetting Root

See original GitHub issue

Short description of the problem:

After calling setRoot and popToRoot to reset the page stack, controls on the new root page stop responding.

What behavior are you expecting?

Controls behave as intended.

Steps to reproduce:

  1. Open sample application.
  2. Enter non-empty credentials.
  3. Click Login
  4. Notice how controls stop responding on the Home page, however the sidebar seems to still work somewhat.

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc) https://github.com/djonesdev/ionicnavbug

Important spots: https://github.com/djonesdev/ionicnavbug/blob/master/app/pages/login/login.ts#L17 https://github.com/djonesdev/ionicnavbug/blob/master/app/pages/home/home.ts#L18

Which Ionic Version? 2.x

Plunker that shows an example of your issue

http://plnkr.co/edit/HYAXAv?p=preview

Run ionic info from terminal/cmd prompt: (paste output below) $ ionic info

Your system information:

You have been opted out of telemetry. To change this, run: cordova telemetry on. 6.3.0

Gulp version: CLI version 3.9.1 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0-beta.36 Ionic App Lib Version: 2.0.0-beta.19 OS: Windows 8.1 Node Version: v5.12.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
zygimantascommented, Aug 16, 2016

Workaround:

this.platform.ready().then(() => {
    this.navController.setRoot(Page);
});
0reactions
zygimantascommented, Aug 16, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

2057365 – Unable to reset root password using rd.break
New Steps: 1. Reboot the system and, on the GRUB 2 boot screen, use the down arrow key on your keyboard to select...
Read more >
Cannot login after resetting root password - DigitalOcean
Hello there,. Make sure to enter the password without blank spaces and also try to type it manually as copy/paste might not be...
Read more >
Why is resetting the root password allowed?
Recovery mode can be disabled, or password-protected. This way someone with console access will not have root access unless they can ...
Read more >
Chapter 4 Resetting the Root Password: Windows Systems
On Windows, use the following procedure to reset the password for the MySQL 'root'@'localhost' account. ... Find the MySQL service in the list...
Read more >
How to Reset the root Password - Fedora Docs
Changing passwords as root will not prompt for the old password. ... Use the arrow keys to go to select the line begging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found