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

When deselecting multiple rows the last one is not getting unselected

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

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

評価

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

調査の方向性

js/dataTables.select.js の 695-697 行あたりから始め、複数の行の選択解除を再現して、最後の行が選択されたままになることを確認します。デフォルトの動作を変更すべきか、設定可能にすべきかを明確にし、そのうえで、選択した動作によって意図した行が一貫して選択解除されることを検証します。

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

説明

Hi.
Playing around with the plugin I noticed that when deselecting multiple items the last one remains selected.
I dug a bit into the code and noticed the following code that intentionally prevents the last row from being deselected.
https://github.com/DataTables/Select/blob/36e53e42f5220e98879d2554551aabbfaba7d0ff/js/dataTables.select.js#L695-L697

I checked the behavior of many programs and none acts like that.
Can you please explain the reasoning behind it?

Anyway I believe that this behavior should be configurable what is yours?
Thanks.

主要言語
JavaScript
スター
44
フォーク
40
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

DataTables/Select のほかの issue

DataTables/Select の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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