Skip to content

default range cannot be removed #4634

Open
@stefanhoelzl

Description

@stefanhoelzl

Describe the bug
When selectableRange is enabled (e.g. set to true) the first cell is selected by default, but it is not possible to remove the range and select no cell.

Tabulator Info

  • Which version of Tabulator are you using? 6.3.2

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Go to https://jsfiddle.net/qas4bwod/24/
  2. Wait until table is loaded
  3. value 0 is still selected

Expected behavior
I expect that there is nothing selected after I remove the range.

Desktop (please complete the following information):

  • OS: Fedora 41
  • Browser Firefox
  • Version 132

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Even better I would expect that nothing is selected in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Possible BugA possible bug that needs investigation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions