alvarotrigo / alvarotrigo/fullPage.js

Scroll Horizontally, keep story line when accessing through anchor.

未關閉
#2,499 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
35.4k
分支
7.1k
PR 合併指標
30 天內沒有已合併 PR

描述

### Description

I believe this is a request for a new feature, or an enhancement, rather than a bug.

If a user skips ahead to a section via an anchor link, and then scrolls back UP to a previous section, I would like to be able to transition directly to the last slide of the section rather than the first.

### Link to isolated reproduction with no external CSS / JS

Here is an example built specifically to demonstrate: ***

### Steps to follow on the example url:
1. After page loads, click **Section C** in the top navigation bar
2. After **Section C, Slide 1** has loaded, scroll up to go to **Section B**
3. **B.1** will appear, because the user has never viewed Section B before so it makes sense that B.1 would be the active slide. However, since **B.3** is in some sense the preceding slide to **C.1**, I would like the scrolling action to reveal **B.3**.

Does that make sense? Let me know what else I can do to explain. Thank you.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。