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: Quick pick click to close and over nav bar #2758

Merged
merged 3 commits into from Jun 8, 2023

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

Fixes two of the problems from issue #2754:

  • Clicking outside of the quick pick or input will close it (same behaviour as Esc).
  • Quick pick moved 'up' to same place as message box so that it is over top of the main nav bar.

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

Fixes 2/3 of issue #2754.

How to test this PR?

Open a quickpick, confirm the nav bar is faded out and clicking outside closes it, but clicking inside still selects an item.

Fixes two of the problems from issue containers#2754:
- Clicking outside of the quick pick or input will close it (same behaviour as Esc).
- Quick pick moved 'up' to same place as message box so that it is over top of the main nav bar.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from a team and benoitf as code owners June 6, 2023 20:14
@deboer-tim deboer-tim requested review from jeffmaury and lstocchi and removed request for a team June 6, 2023 20:14
Copy link
Collaborator

@benoitf benoitf left a comment

Choose a reason for hiding this comment

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

if you can respond to the feedback, thanks

Use outerDiv variable name since that's the area we want to detect changes outside of, and use correct HTMLDivElement type.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
Signed-off-by: Tim deBoer <git@tdeboer.ca>
@benoitf benoitf merged commit a22ed8e into containers:main Jun 8, 2023
7 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.2.0 milestone Jun 8, 2023
@deboer-tim deboer-tim deleted the quickpick branch June 26, 2023 19:43
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.

None yet

4 participants