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

Bug Report: Search Results Not Displaying Correctly #250

Open
FoneG opened this issue Jul 12, 2024 · 1 comment
Open

Bug Report: Search Results Not Displaying Correctly #250

FoneG opened this issue Jul 12, 2024 · 1 comment
Labels

Comments

@FoneG
Copy link

FoneG commented Jul 12, 2024

🐛 Bug Report

When using the following code to perform a search:

GPHContent *content = [GPHContent searchWithQuery:@"123456op" 
                                        mediaType:GPHMediaTypeText 
                                        language:GPHLanguageTypeEnglish 
                              includeDynamicResults:YES];

the method -contentDidUpdateWithResultCount:error:returns 43 results. However, none of these results are visible or clickable, and the screen remains blank. This behavior makes it impossible for users to understand the current state, as there is no indication that the search returned results.

Expected Behavior:
The search results should be displayed properly, or there should be an indication that no results are available if the search query returns empty.

Actual Behavior:
The screen remains blank, and the results are not visible or clickable, making it confusing for users.

Environment:

['Giphy', '2.2.9']

截屏2024-07-12 11 00 17
@FoneG FoneG added the bug Something isn't working label Jul 12, 2024
@leschlogl
Copy link

Hey @FoneG ,

Sorry for the delay on this and thanks for your patience.

I tested here with the same content query and I wasn't able to reproduce it. I received the placeholder "No text found", given that for this query, we don't have content.

Could you provide us more details about it?

  • Are you calling gridController.update() after setting the content?
  • How are you configuring the GiphyGridController? (params, calling the query, updating the view and etc)

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants