react-component / react-component/select

Can't clear the select on Safari iOS

Open
#945 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

Opening this demo example on an iOS device, Safari, and clicking the X (clear) icon doesn't clear the select box.

This issue was also reported here: https://github.com/ant-design/ant-design/issues/28917

A Stackblitz repro example: https://stackblitz.com/edit/react-pr3fcp?file=demo.tsx. Double clicking clears the Select box but this is not the desired behaviour.

Double clicking doesn't work here on react-component/select. It works only in AntDesign Select

https://github.com/react-component/select/assets/4083652/45b116b6-bee6-4037-b4c8-708a98afeec4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the StackBlitz reproduction in demo.tsx and compare the clear-icon interaction on iOS Safari with other browsers. The issue is done when clicking the X clears the Select on iOS Safari without requiring a double click.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.