react.dev
react.dev copied to clipboard
[Bug]: Search functionality not working correctly on react.dev in Safari on iOS real device (iPhone 12 Pro)
Summary
The current behavior
Search functionality does not work correctly on iOS real device (iPhone 12 Pro).
https://github.com/reactjs/react.dev/assets/57572988/f50ff514-d84b-4e8c-b067-628eedd2d762
Since search functionality is currently working as expected on macOS, both in Chrome and Safari, the issue might be in implementation of Algolia InstantSearch iOS:
https://github.com/reactjs/react.dev/assets/57572988/44ddea01-cd10-4323-bcdb-aec1788da64d
The expected behavior
Search functionality is working as expected on macOS, both in Chrome and Safari. Should work similarly on iOS real device:
macOs Chrome
https://github.com/reactjs/react.dev/assets/57572988/41c9cd76-3ac8-4820-9917-52141d68c8ed
macOS Safari
https://github.com/reactjs/react.dev/assets/57572988/4daf9a68-2671-446c-a9c3-8a39bfefc8e5
Page
https://react.dev
Details
Steps To Reproduce
- Open react.dev in Safari on iPhone (real device)
- Tap search icon: note that search function is working as intended
- Scroll down to "Write components with code and markup" section
- Tap search icon: note that action doesn't open search
- Scroll down again and tap the search icon several times: note that action doesn't open search
- Repeat step 5: note that eventually screen freezes
The iOS real device that this behavior was recorded on is using the current iOS version:
Hi @pwbriggs👋 I was wondering if I could open a pull request and begin work on this issue.
Go ahead, @MeetYourCreator! Thanks in advance for the help!
Hi @pwbriggs 👋 I'm about to open a PR for this bug-fix. Since it's my first time contributing, I just want to make sure I have the right protocol for opening a PR for this repo:
- fork repo
- clone forked repo to local machine
- git checkout -b my-branch-name
- when ready, git push my-fork-name my-branch-name
Yes, that's correct. Commit the changes to the branch on your fork, then open your fork on GitHub. You should see a message something like this:
Hit the "Contribute" button to start a pull request. Include "Fixes #6693" in the description so GitHub will automatically link it to this issue.
Thanks again! ❤️