[bug]: Typescript error with `position: "absolute"`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
まず、リンクされているCodeSandboxを実行し、@react-spring/web、useTransition、アニメーション付きのdivを使ってTypeScriptエラーを再現します。fromプロパティとstyleの割り当てに関係する型を追跡します。再現した例でposition: "absolute"がTypeScriptエラーを生成しなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Which react-spring target are you using?
-
@react-spring/web -
@react-spring/three -
@react-spring/native -
@react-spring/konva -
@react-spring/zdog
What version of react-spring are you using?
9.5.5
What's Wrong?
Setting position: "absolute" in the from property of the useTransition hook shows a typescript error when setting style on the animated div.
To Reproduce
Set position: "absolute" in the from property of the useTransition hook.
Expected Behaviour
No errors
Link to repo
https://codesandbox.io/s/youthful-gianmarco-y5q1v2?file=/src/App.tsx
- 主要言語
- TypeScript
- スター
- 29.2k
- フォーク
- 1.2k
- 平均マージ
- 16時間 25分
- マージ済み PR(30日)
- 48
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pmndrs/react-spring のほかの issue
-
area: core kind: request
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
pmndrs/react-spring#2542 ·
メンテナーはふだん 1 日以内に返信
-
area: typescript kind: request release: major
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
pmndrs/react-spring#2541 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
animated() throws 'cannot add a new property' on non-extensible React Native host components (Hermes)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
pmndrs/react-spring#2533 ·
メンテナーはふだん 1 日以内に返信
-
release: major type: RFC
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
pmndrs/react-spring#2522 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: Tab crash with skipAnimation and loop対応中かも @mrityunjay-pandey が 5 日前に担当しました。 オープンarea: core kind: bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
pmndrs/react-spring#2409 ·
メンテナーはふだん 1 日以内に返信
pmndrs/react-spring の issue をすべて見る
似ている issue
-
"Contains" page watch never matches when its text has a trailing space対応中かも @RaphaelFakhri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
CopilotKit/openmuse#184 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
bootstrap-vue-next/bootstrap-vue-next#3357 ·
メンテナーはふだん 1 日以内に返信
-
[quality] tide.ts: six mutation survivors in the merge-queue gate, draft refusal, fork-403 workflow-file diagnosis and getPull's fork flag are unpinned by any test対応中かも @hivecommons-hive が今日担当しました。 オープンagent/quality needs-kind stage/040-covered-by-pr testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cncf/prow-github-actions#517 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Unsampled pageload span is profiled when profileLifecycle is 'trace' (browser UI profiling)対応中かも @Jxxunnn が今日担当しました。 オープンBrowser Waiting for: Product Owner
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
getsentry/sentry-javascript#25497 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信