-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: suggestions popup opens with delay and appears empty #33538
Conversation
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@allroundexperts Gentle reminder |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-31.at.11.34.42.PM.movAndroid: mWeb ChromeScreen.Recording.2023-12-31.at.11.12.09.PM.moviOS: NativeScreen.Recording.2023-12-31.at.11.11.19.PM.moviOS: mWeb SafariScreen.Recording.2023-12-31.at.11.10.31.PM.movMacOS: Chrome / SafariScreen.Recording.2023-12-31.at.10.41.27.PM.movMacOS: DesktopScreen.Recording.2023-12-31.at.10.43.53.PM.mov |
src/components/AutoCompleteSuggestions/BaseAutoCompleteSuggestions.tsx
Outdated
Show resolved
Hide resolved
@aswin-s On Android web, I'm getting the following bug: I think this is happening on main as well. It would be good if you can double confirm that please. |
Also, can you please post a video of this working fine on a real iOS device? The overlapping seem to disappear if I remove the |
@allroundexperts Here is a video from physical device (iPhone 12). Note that the rendering glitch is not happening even once no matter how fast I type or change the suggestion. on_device.mp4
Not able to reproduce this from my end. android-web.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/puneetlath in version: 1.4.21-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
1 similar comment
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
Details
This PR fixes an issue with suggestions popup where the list appears empty on first render.
Fixed Issues
$ #32401
PROPOSAL: #32401 (comment)
Tests
Note: For developer builds on iOS there seems to be a rendering issue where list items appear to be overlapping. This seems to be due to performance issues on development build. Not able to reproduce the same on release builds on real device.
https://shopify.github.io/flash-list/docs/performance-troubleshooting/
https://stackoverflow.com/questions/75851202/shopify-flashlist-items-load-on-top-of-each-other-initially
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mp4
Android: mWeb Chrome
android-web.mp4
iOS: Native
ios2.mp4
iOS: mWeb Safari
ios-web.mp4
MacOS: Chrome / Safari
web2.mp4
MacOS: Desktop
desktop2.mp4