Skip to content

List loss of focus triggers 'selection' event. #24

@jacknewberry

Description

@jacknewberry

List views trigger the 'selection' event when they lose focus.
This happens as the previously selected rows are reselected ( by List._blur() line 579 ) so that they get their unfocused look.

This behaviour can be remedied by changing line 204 of List.js:
from:
this.trigger('selection', {source: this});
to:
if (this.hasFocus()) this.trigger('selection', {source: this});

I should be able to change and pull-request this myself, but the github jargon is too difficult for me to understand how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions