掲示板 掲示板

戻る

RE: Phone view doesn't scroll to top on page change

トグル
Hi,

I have built some phone views for a course. The page content is taller than a single phone screen, so the user needs to scroll down to see all the content. I have placed the button to navigate to the next page at the bottom of each page. This means the user does not need to scroll back up to navigate to the next page.

I am finding that when navigating from one page to the next, the browser window position is remaining at the same scroll position as the previous page - i.e. the window position is not moving to the top of the page, and instead a page might load in with the window scrolled half way down the content.

Is this expected behaviour? I personally believe the window should auto-scroll to the top on page change. Is there some way to achive this?

Many thanks in advance for any help given.
0 (0 投票)

RE: Phone view doesn't scroll to top on page change
答え
24/01/24 18:10 Leon Rへのコメント
Hi Leon,
Yes, this is expected behavior. There may be times where a page change is invisble to the learner (such as some software simulations or quizzes). We'll see about adding a lesson setting so that this can be configureable. 

In the meantime, there's a workaround that you can use. 
  1. On the Master Page add a text object to the top left corner,
  2. make the text white, or the same color as your background to "hide" it (keep Start Visible = true),
  3. turn off the Show Focus Ring property on the text object.
  4. Create an action that says onPageChange > Focus on (text object). The "Focus on" block is under the "Page" category.
See attached image. That should force the page to scroll back to the top any time the page is changed.

Let us know if that doesn't work for you!

添付ファイル:

画像の固定

0 (0 投票)

RE: Phone view doesn't scroll to top on page change
答え
24/01/26 16:35 Navdeep Dhillonへのコメント
Thank you, that works for us.
0 (0 投票)

RE: Phone view doesn't scroll to top on page change
答え
24/04/08 13:30 Navdeep Dhillonへのコメント
I can see this change has been implemented in version 5.1.0.

Many thanks for doing that.
0 (0 投票)