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

Setting a new min/max value for a numeric slider causes an exception

オープン
#47 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

報告されたパスは reacton/core.py の 1980-1985 行付近です。まず、issue で説明されている IntRangeSlider の min/max 更新を、無効な中間順序の両方を含めて再現してください。これらの場合に min または max を変更しても TraitError が発生しなくなれば完了です。

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

説明

When trying to update a numeric slider (only tested on IntRangeSlider) and the min or max value is update, it causes a traitlets.traitlets.TraitError.

Case where new min > current max:

https://github.com/user-attachments/assets/28842a11-1222-4f14-bac0-ef13619008d6

The order of the attributes being input set seems to mitigate the issue:

https://github.com/user-attachments/assets/629b4b10-6381-4019-995c-6f182ccb7170

But if you update to a different value, it can still break. Case where new max < current min:

https://github.com/user-attachments/assets/2f80a9dc-3d98-423e-9339-69cadd282520

I would think these lines would handle catching that?

https://github.com/widgetti/reacton/blob/51e6eda379e0570bb94f0c8af1284d2fef0bdc8e/reacton/core.py#L1980-L1985

主要言語
Python
スター
317
フォーク
19
平均マージ
14分
マージ済み PR(30日)
3

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

widgetti/reacton のほかの issue

widgetti/reacton の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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