Fixes clicking on problems filter inputbox makes problems panel callapse by jeanp413 · Pull Request #96203 · microsoft/vscode

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jeanp413

Copy link Copy Markdown

Contributor

This PR fixes #96009

@sandy081

Copy link Copy Markdown

Member

Seems the fix will fix the issue but trying to understand why the click on input box is triggering collapse button?

@sandy081 sandy081 added this to the April 2020 milestone

Apr 27, 2020

@jeanp413

Copy link Copy Markdown

Contributor Author

@sandy081 The event is bubbling up so ⬇️ also gets triggered.

this._register(domEvent(this.header, 'click')
(e => {
if (!e.defaultPrevented) {
this.setExpanded(!this.isExpanded());
}
}, null));

@sandy081

Copy link Copy Markdown

Member

Ah I see. Thanks for explanation.

Copy link Copy Markdown

Member

@sandy081 sandy081 left a comment

Choose a reason for hiding this comment

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

LGTM

@sandy081 sandy081 merged commit 94c469d into microsoft:master

Apr 27, 2020

@jeanp413 jeanp413 deleted the fix-96009 branch

April 27, 2020 08:34

@github-actions github-actions bot locked and limited conversation to collaborators

Jun 11, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@sandy081 sandy081 sandy081 approved these changes

Labels

None yet

Projects

None yet

Milestone

April 2020

Development

Successfully merging this pull request may close these issues.

Split problems panel makes filter input unclickable

3 participants

@jeanp413 @sandy081 @sbatten