---
id: 319
title: 'selection.GalleryModel: toggleSelection & select'
state: CLOSED
labels:
  - enhancement
  - good first issue
  - stale
assignees: []
createdAt: '2020-03-18T22:54:45Z'
updatedAt: '2024-09-28T02:32:03Z'
githubUrl: 'https://github.com/neomjs/neo/issues/319'
author: tobiu
commentsCount: 2
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2024-09-28T02:32:03Z'
---
# selection.GalleryModel: toggleSelection & select

the GalleryModel is not in sync with selection.Model.

select should always select an item (right now it does toggle; hacked in a 2nd param to optionally prevent it).

toggleSelection will probably need an override.

## Timeline

- 2020-03-18T22:54:45Z @tobiu added the `enhancement` label
- 2020-03-18T22:54:45Z @tobiu added the `good first issue` label
- 2020-03-18T22:55:24Z @tobiu changed title from **selection.GalleryModel: select** to **selection.GalleryModel: toggleSelection & select**
### @github-actions - 2024-09-14T02:27:48Z

This issue is stale because it has been open for 90 days with no activity.

- 2024-09-14T02:27:49Z @github-actions added the `stale` label
### @github-actions - 2024-09-28T02:32:02Z

This issue was closed because it has been inactive for 14 days since being marked as stale.

- 2024-09-28T02:32:03Z @github-actions closed this issue

