Skip to content

Table Component - Row Selection - Double Click: Subsequent click after double click does not fire click event #3757

Closed
@Arquiel

Description

@Arquiel

Describe the bug

Click event is not fired for the 1st subsequent click after a double click is handled.

Steps to reproduce the bug

  1. Go to the table row select demo page
  2. Double click on the first row (row should be selected now)
  3. Wait a second, then click once
  4. At this point, the selected row should be deselected from the 3rd click, but nothing happens until the 4th click.

Expected behavior

Upon execution of the 3rd click (distinctly seperated), the click handler should be fired.

Versions

Environment:

  • Browser: Chrome (Windows 10)

Demo link

https://bootstrap-vue.js.org/docs/components/table#row-select-support

Additional context

I've been running into all sorts of hurdles because the BS-V API doesn't keep track of selections after sorting or page changes:
allow for programmatic selection:

  • Rows cannot be programmatically selected/deselected
  • Click events have to be manually fired on each row to select/deselect
  • Double click events
  • Double clicks are handled at a different speed than native JS handles them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions