downshift-js / downshift-js/downshift

Selected item is not updated in mobile devices

Open
#1,554 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
12.3k
Forks
936
PR merge metrics
No merged PRs in 30d

Description

- `downshift` version: 7.6.0
- `node` version: v18.17.1
- `npm` (or `yarn`) version:3.5.1

**Relevant code or config**
https://www.downshift-js.com/use-select/#basic-multiple-selection

```javascript
```

**What you did**:
Tested the example in iPhone ios v16+
**What happened**:
The selection is not updated on clicking outside to close the dropdown select. It works fine if we toggle without clicking outside

**Reproduction repository**:

**Problem description**:
The mobile devices do not get the correct selected items on clicking outside. Attached video

**Suggested solution**:
If we can disable the closing of select dropdown on clicking outside, we can use this in touch devices.

https://github.com/downshift-js/downshift/assets/94677320/1a05172b-ac4b-4610-9edd-a62da0d6e571

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.