You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2019. It is now read-only.
Multiple views/pages navigation fails by displaying the incorrect page #866
I have come across what I think is a major bug in version 3.0's navigation functionality. Firstly, it seems that pages maintain an 'active' status even when the user navigates to another page. Consequently, this leads to problems when a user revisits a page leading to the wrong page being displayed.
I realize you keep active classes but if different pages within the same view is hit twice, both pages maintain a 'active' status and the third view shows the wrong page (it basically shows the last active page, regardless of which page within the view is requested)
I ran into the same issue. seems like someone posted a pull request on the issue in April. #850
the update to af.ui.js adds to the runTransition function and removes the active class if found. it works, but it requires a transition to be set when calling the panels, and not sure if it's the best solution.
Not sure that timer to remove the 'active' status of a page is the best approach. Perhaps a function that is called when a page a navigated to that automatically removes 'active' from other pages within the same view.
I won't have time to look into this for a month (vacation and other priorities). If someone has a fix, please submit a pull request WITH EXAMPLES of the error and the fix
Is anyone else at Intel working on this or is this a one man show? Trying to visit http://app-framework-software.intel.com now shows "The page cannot be displayed because an internal server error has occurred."
Sorry but my concern was more with the bug reported rather then the server. Is this framework actively maintained? Are you the only person working on fixing bugs? Thanks
Activity
jvence commentedon May 18, 2015
As you can see below both pages have an 'active' class
The way to fix this is to remove the 'active' status of a page when the user navigates away from it
imaffett commentedon May 18, 2015
We keep active classes when switching from different views. I won't have time to look into your issue, hopefully someone else can help!
jvence commentedon May 18, 2015
I realize you keep active classes but if different pages within the same view is hit twice, both pages maintain a 'active' status and the third view shows the wrong page (it basically shows the last active page, regardless of which page within the view is requested)
rvacca2 commentedon May 18, 2015
I ran into the same issue. seems like someone posted a pull request on the issue in April.
#850
the update to af.ui.js adds to the runTransition function and removes the active class if found. it works, but it requires a transition to be set when calling the panels, and not sure if it's the best solution.
jvence commentedon May 19, 2015
Not sure that timer to remove the 'active' status of a page is the best approach. Perhaps a function that is called when a page a navigated to that automatically removes 'active' from other pages within the same view.
imaffett commentedon May 19, 2015
I won't have time to look into this for a month (vacation and other priorities). If someone has a fix, please submit a pull request WITH EXAMPLES of the error and the fix
jvence commentedon May 20, 2015
Is anyone else at Intel working on this or is this a one man show? Trying to visit http://app-framework-software.intel.com now shows "The page cannot be displayed because an internal server error has occurred."
imaffett commentedon May 20, 2015
@jvence - the server is maintained by the infrastructure team for HTML5 tools. I've pinged them to ask what's going on. Thanks for the heads up.
jvence commentedon May 26, 2015
Sorry but my concern was more with the bug reported rather then the server. Is this framework actively maintained? Are you the only person working on fixing bugs? Thanks
imaffett commentedon May 26, 2015
You can view the commit log - https://github.com/01org/appframework/commits/master