Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] : Add a "Back to Top" button for improved navigation on long pages

オープン 初心者向け
#444 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
63/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
css, javascript
領域
frontend

調査の方向性

ランディングページのエントリーポイントを見つけ、スクロールとページスタイルの処理方法を確認します。下にスクロールすると表示され、右下に留まり、ページを滑らかにトップへ戻すフローティングボタンを追加します。ページがトップにあるときは非表示にします。長いランディングページで、表示しきい値、配置、スクロールの動作を確認します。

索引モデルが issue の本文から書いたものです。

説明

area: web type:feature
Description

Feature Request

The landing page is relatively long, requiring users to scroll through multiple sections before reaching the footer. Once at the bottom, users must manually scroll back to the top to access the navigation bar.

Adding a "Back to Top" button would improve navigation and enhance the overall user experience.

Expected Behavior

  • Display a floating Back to Top button after the user scrolls down a certain distance (e.g., 300–500px).
  • Position it in the bottom-right corner of the screen.
  • Clicking the button should smoothly scroll the page back to the top.
  • Hide the button when the user is already at the top of the page.

Benefits

  • Improves navigation on long pages.
  • Reduces unnecessary scrolling.
  • Enhances accessibility and overall user experience.
  • Matches the behavior commonly found on modern websites.

Suggested Implementation

  • Add a floating action button using position: fixed.
  • Use window.scrollTo({ top: 0, behavior: "smooth" }) for smooth scrolling.
  • Show the button only after the user has scrolled beyond a predefined threshold.
主要言語
Kotlin
スター
760
フォーク
122
平均マージ
15時間 3分
マージ済み PR(30日)
62

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ProdigyV21/ARVIO のほかの issue

ProdigyV21/ARVIO の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。