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

ToggleButton should not unselect active item - There should always be an item active

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

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

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

評価

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

調査の方向性

まず VueJS ToggleButton コンポーネントを探し、報告にある4つの手順で問題を再現します。現在アクティブな項目をクリックしたときは選択されたままになり、別の項目をクリックしたときはアクティブな項目が変わることを確認し、prop を導入する場合は既存のオプション動作を明確にできれば作業は完了です。

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

説明

enhancement

Affected Projects
VueJS

Is your feature request related to a problem? Please describe.
ToggleButton unselects value when clicked on active item

Describe the solution you'd like
ToggleButton should not unselect value when clicked on active item. It should only change the active item when clicked on that active item

Describe alternatives you've considered
Not considered. But could be a custom reactive component.

Additional context
Could be a prop to have different behavior in case you want to continue to offer this option in both ways

Steps to reproduce

  1. Initial state:
    image

  2. Change active item:
    image

  3. Click active item (same item as step 2) - Undesired behavior
    image

  4. Click active item (same item as step 2) - Desired behavior / Stays the same
    image

主要言語
JavaScript
スター
4.9k
フォーク
479
平均マージ
4日 10時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

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

appbaseio/reactivesearch のほかの issue

appbaseio/reactivesearch の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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