Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

page.data is undefined during init event #1449

Closed
DidiYordanov opened this issue Jun 9, 2016 · 1 comment
Closed

page.data is undefined during init event #1449

DidiYordanov opened this issue Jun 9, 2016 · 1 comment

Comments

@DidiYordanov
Copy link

DidiYordanov commented Jun 9, 2016

Environment
Visual Studio 2015
Onsen UI v2 RC.9
Javascript
Android 4.4.4 and Windows 10 phone

Encountered problem
When running the ons-navigator template in certain devices there is a strange bug.

When I click an item for the first time it works fine, however if I go back and click another one it get errors with page.data is undefined in the init event handler.
On Android 4.4.4 the application continues to work regardless of the missing data.
On Windows 10 phone this error actually crashes and closes the whole app.

How to reproduce
Run the navigator template in either OS.

@frandiox
Copy link
Contributor

@DidiYordanov Can you check if this works with #1451 ? It works now in Edge so it should also work in Windows 10 and probably the other browsers.

argelius added a commit that referenced this issue Jun 13, 2016
fix(ons-navigator): Timing issues. Closes #1449
@lock lock bot added the outdated label May 17, 2018
@lock lock bot unassigned frandiox May 17, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants