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

Dismiss the snippet preview when there is no suggestions #17777

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

zadjii-msft
Copy link
Member

Pretty obvious in retrospect. If there's no results, then we need to preview
nothing to make sure that we clear out any old previews.

Closes #17773

Additionally, while I was here:

I realized why it seems like the selected item is so wacky when you first open the sxnui:

  • on launch we're not scrolling to the bottom item (which makes it awkward in bottom up mode)
  • when we filter the list, we're maintaining the selection index, not the selection item.

Alas, that second part is... shockingly bodgy.

(you can review this as two separate commits for sanity's sake)

Pretty obvious in retrospect. If there's no results, then we need to preview
_nothing_ to make sure that we clear out any old previews.

Closes #17773

This comment has been minimized.

Co-authored-by: Carlos Zamora <carlos.zamora@microsoft.com>
@DHowett DHowett enabled auto-merge (squash) August 22, 2024 22:50
@DHowett DHowett merged commit 1de142b into main Aug 23, 2024
20 checks passed
@DHowett DHowett deleted the dev/migrie/b/17773-dismiss-preview-on-no-results branch August 23, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filtering the search to display 0 actions does not clear the preview
3 participants