nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Fix "No results found" tooltip #415

Closed danxuliu closed 6 years ago

danxuliu commented 6 years ago

This pull request fixes the No results found tooltip not being shown. It also adds the code needed to hide it based on the one used in the server.

Note, however, that is does not address the problems with that code (for example, if a search is started and while it is being performed the input field is cleared the tooltip would be still shown once the search response is received, even if the input field is now empty).

Probably not worth a backport, although it should be straightforward to do it.

How to test:

Expected result: A No results found tooltip is shown for the input field; if the input field is emptied the tooltip goes away.

Actual result: No tooltip is shown.