Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

navto://relative/current#50%

ambitappa773737
Level 3
Level 3

In a previous post I asked what command I needed to use to navigate to a specific spot further down in my smooth scrolling article when I have 2 top level navigations. The answer Bob gave was correct (navto://relative/current#50%), but it is only working on iOS. When I tap the button on Android it does nothing. Is there something I'm doing wrong or is this a bug?

1 Accepted Solution
Bob_Bringhurst_
Correct answer by
Employee
Employee

It turns out that this is a bug. Using a value like 50% for smooth scrolling articles works on iOS but not Android.

The workaround is to use the page method (#n) instead of a percentage to jump to a specific location. In a smooth scrolling article, each tile, or screen, is effectively a page. So if you have a 6-tile smooth scrolling article (such as 768x6000), you would use something like navto://relative/current#2 to jump to tile 3 of the smooth scrolling article. You can use decimal point (#2.3) to fine-tune the link.

I'll try to remember to reply to this thread when the Android viewer bug is fixed.

View solution in original post

2 Replies
Bob_Bringhurst_
Correct answer by
Employee
Employee

It turns out that this is a bug. Using a value like 50% for smooth scrolling articles works on iOS but not Android.

The workaround is to use the page method (#n) instead of a percentage to jump to a specific location. In a smooth scrolling article, each tile, or screen, is effectively a page. So if you have a 6-tile smooth scrolling article (such as 768x6000), you would use something like navto://relative/current#2 to jump to tile 3 of the smooth scrolling article. You can use decimal point (#2.3) to fine-tune the link.

I'll try to remember to reply to this thread when the Android viewer bug is fixed.

View solution in original post

ambitappa773737
Level 3
Level 3

Cool. Thanks Bob. That seemed to work for both. Appreciate it.