scroll bar fix in incanvas search#8673
Conversation
| //if original sender was scroll bar(i.e Thumb) don't close the popup. | ||
| if(!(e.OriginalSource is Thumb)) | ||
| { | ||
| HidePopupWhenWindowDeactivated(); |
There was a problem hiding this comment.
b0700d5
This is the original commit where this code was added. I think, this fixed a bug where the incanvas search was open when you open another view (customnode) or another workspace.
this check should fix that inappropriate close when mouse is released in the scroll.
There was a problem hiding this comment.
Hey @ramramps I just pulled the branch and tested locally. The in-canvas search looks good and no longer collapses when scrolling. I am not sure how critical it is but the search window remains open now when switching windows and appears in front of any other content you have open which was I think what you were describing above. Such as

There was a problem hiding this comment.
@alfarok I was able to reproduce this on the master branch. This fix doesn't necessarily change that.
Purpose
Task : https://jira.autodesk.com/browse/QNTM-3406
This PR fixes the scroll issue in Incanvas Search.
Declarations
Check these if you believe they are true
*.resxfilesReviewers
@alfarok