Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(website): fix showcase search input #9260

Merged
merged 2 commits into from Sep 14, 2023
Merged

Conversation

biplavmz
Copy link
Contributor

@biplavmz biplavmz commented Aug 25, 2023

fix #9248

Hii @slorber please look into this.

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 25, 2023
@netlify
Copy link

netlify bot commented Aug 25, 2023

[V2]

Name Link
🔨 Latest commit 2766982
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/65030264bfa69b0009e363eb
😎 Deploy Preview https://deploy-preview-9260--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

github-actions bot commented Aug 25, 2023

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟠 62 🟢 97 🟢 92 🟢 100 🟠 89 Report
/docs/installation 🟠 76 🟢 98 🟢 92 🟢 100 🟠 89 Report

Copy link
Collaborator

@slorber slorber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart the no results case: we should also be able to keep typing in the input.

Also, please fix the lint errors reported by CI:

CleanShot 2023-08-31 at 13 16 11@2x

Comment on lines 334 to 340
{filteredUsers.length !== 0 && (
<div
style={{display: 'flex', marginLeft: 'auto'}}
className="container">
<SearchBar />
</div>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is good. The <SearchBar> should remain the same either if there are results or not.

@slorber slorber changed the title searchBug #9248 fix(website): fix showcase search input #9248 Aug 31, 2023
@slorber slorber changed the title fix(website): fix showcase search input #9248 fix(website): fix showcase search input Aug 31, 2023
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 31, 2023
@slorber slorber merged commit dc7ae42 into facebook:main Sep 14, 2023
9 of 10 checks passed
This was referenced Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unable to search or type the text input focus changes while typing
3 participants