Skip to main content
Participant
September 10, 2024
Answered

アンカーリンクが動作しない

  • September 10, 2024
  • 1 reply
  • 595 views

同アートボード上の指定の場所までスクロールするアンカーリンクを設置したいのですが、プロトタイプ画面で各項目を設定しても、プレビューで動作しません。特定の条件では動作しないなど、何か見落としがあるのでしょうか。

 

プロトタイプではリンクボタンと移動先のオブジェクトを繋ぎ、トリガー「タップ」、アクションの種類「スクロール先」、移動先「スクロールさせたい場所のオブジェクト」、イーズアウト0.3秒で設定しています。

 

新規書類を作成し、試しに同様のリンクを作ってみたものの、それも動作しません。XDのバージョンは、57.1.12.2 x64です。解決策やアドバイスなどご教示お待ちしております。

This topic has been closed for replies.
Correct answer creative explorer

@bandicoot_fuka add spacers (ie rectangles boxes)

1 reply

creative explorer
Community Expert
Community Expert
September 11, 2024

@bandicoot_fuka you mentioned that: In the prototype, the link button is connected to the object to be moved

Instead of moving it to the object, move it to the layer. For example, see the mini movie (scroll-2-layer.mp4). 

 

 

m
Participant
September 12, 2024

@creative explorer

アドバイスありがとうございます。無事に動作させることができました。原因はビューポートの位置をアートボードの下端に設定していたことが問題でした。ビューポートはプレビューの表示のみに関わる要素と思っていましたが、アンカーリンクの動作にも影響する事を知りませんでした。ありがとうございました。

creative explorer
Community Expert
creative explorerCommunity ExpertCorrect answer
Community Expert
September 12, 2024

@bandicoot_fuka add spacers (ie rectangles boxes)

m