-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Fix #9363: Code hints popup dismisses prematurely #8527
Comments
Comment by redmunds
I confirmed that you PR fixes this case. Is this what you are seeing, or is there another way to reproduce problem? |
Comment by redmunds Done with review. |
Comment by TomMalbran
The fix is simply to just render the collapsed items as hidden so that we don't need to hide them later. |
Comment by redmunds With latest code, I'm seeing this:
Results: Do you still need |
Comment by TomMalbran
At step 3 the file is removed from the list, and at step 4 the files is readded, but since the file was removed from the model, we lost the collapsed information so we don't know that is was collapsed before. If this is the only way to reproduce that bug, then it is a bug in master too and I don't think that is the same bug as #9363. So we should open a new issue for it and I can fix it in another PR, so that we can merge this one earlier. |
Comment by redmunds
UPDATED: I'm seeing the same results in master, so I guess this is not related to this PR |
Comment by TomMalbran
|
Comment by redmunds
|
Comment by redmunds Thanks. Merging. |
Comment by TomMalbran
I am thinking that maybe we should keep the collapsed state in a different object. |
Issue by TomMalbran
Tuesday Oct 14, 2014 at 02:09 GMT
Originally opened as adobe/brackets#9548
I moved the logic to restore the collapsed files to the template, so that we don't need to toggle them after the results UI is rendered.
TomMalbran included the following code: https://github.com/adobe/brackets/pull/9548/commits
The text was updated successfully, but these errors were encountered: