[feat]: Parallax page should be able to be sized by pixels or a constant and not just viewHeight.

オープン
#2,188 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

ParallaxLayerコンポーネントを見つけ、現在その factor prop がビューの高さに基づいてページのサイズをどのように決めているかを確認します。サポートされている定数指定またはピクセル単位のサイズ指定の挙動を特定し、既存の viewHeight ベースの使用方法が変更されないことを検証します。この issue には例、ファイルパス、テスト対象がありません。

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

説明

template: request
A clear and concise description of what the feature is

Looking at the ParallaxLayer component and specifically the factor prop. I feel a user should instead of just being able to use a multiple of the user's window height to size a page, there should be an option to have a page set to a constant.

Why should this feature be included?

I have a multi page website, but my second page has text information on it, that should not look different on any device. However, my other pages are all set to 100% window height.

Please provide an example for how this would work

No response

主要言語
TypeScript
スター
29.3k
フォーク
1.2k
平均マージ
3日 15時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

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

pmndrs/react-spring のほかの issue

pmndrs/react-spring の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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