Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

SplitView: bad page selection #86

Open
rochejul opened this issue Oct 5, 2012 · 0 comments
Open

SplitView: bad page selection #86

rochejul opened this issue Oct 5, 2012 · 0 comments

Comments

@rochejul
Copy link

rochejul commented Oct 5, 2012

Hi,

In the case where we have a page before the page which has got the SplitView (for example, we have a SplashScreen page first), if the screen is too tiny, the menu button will appear.

But this menu will not work because the "page" variable will be linked with the SplashScreen page.

In the file "split.js", please change

var page = M.ViewManager.getCurrentPage() || M.ViewManager.getPage(M.Application.entryPage);

With

var page = M.ViewManager.currentlyRenderedPage || M.ViewManager.getCurrentPage() || M.ViewManager.getPage(M.Application.entryPage);

Cheers

@rochejul rochejul closed this as completed Oct 5, 2012
@rochejul rochejul reopened this Oct 5, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant