-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Core][Left sidebar]: The left sidebar will move up if there are space lines in the html file. #5339
Comments
I've seen this issue of the left sidebar moving up before (even on Mac). It might be an intermittent thing, or there might be multiple causes. |
I checked this issue with latest build 0.32.0-9660 on MAC today,at beginning it not reproduces with above steps, then I tried to live preview this html file and close twice. Then repeat step3~4, this issue will reproduce. Since then, it will happen each time with above steps. |
Low pri to me. |
Marking F General UI - we've seen this in a few guises. |
FYI, this happens for me even if there are on empty lines. Also see issue #3376 |
I'm not sure if this is relevant to this bug since it is an extension bug, but peterflynn/svg-preview#6 reproduces the side bar shifting problem in an extreme way. Might provide some insight into why this problem is occurring. |
@jayther Thanks for researching this and the detailed report! Which release of Brackets are you running? I think this was fixed in pull request #9376 which was merged shortly after 0.44 was released, so you should see it in the latest master branch. If you're using installer builds, the test-45 build should have this fix in it. Is this fixed for you in those builds? I think this bug is fixed, but it was not linked from #9248, so I was not aware of it. Looks like #9499 is also fixed. Note that #3376 is not fixed because UI still "Jiggles", but at least it doesn't stick any longer. |
Ah, I didn't search for closed issues, I probably should have searched for that. I was running 0.44 release. The 0.45 test build does fix the gap. I've tried all the ways to reproduce the bug and the gap doesn't appear (and yes, the jiggle is still there). I see the fix in the Development Tools of changing sidebar position rule to absolute. It's still a little odd how "position: relative" causes the sidebar to shift up a bit. I just looked at the Development Tools again for 0.45 test build and while the sidebar position is fine, the .main-view highlight is still shifted up after taking the steps to reproduce the bug. It's not really an issue, but definitely something to take note of when a bug like this appears again. Thanks for fixing this bug! |
@jayther I'm not exactly sure of the difference between the rendering modes for
Not sure what you mean here. Can you provide a recipe to reproduce it and maybe a screen shot of what you're seeing? |
@redmunds When using So, with that in mind, none of the sidebar's parents in the hierarchy has position defined, and the sidebar's immediate parent is the Anyway, here are the steps I took to reproduce the bug in the test build 0.45 with extensions disabled:
This is a little tricker if you have the latest test build because you would have to check the Developer Tools and the highlight capability to actually see an issue. Here are some screenshots: The size of the In the Developer Tools, when I add When I change the Funnily enough, when I scroll back up and remove the added So, yeah, that's why I think the content is scrolled down after doing certain mouse interactions. I don't know why certain mouse interactions would scroll the content down, that issue may lie within the browser shell. |
@jayther Thanks for the added info.
Actually, When I open Dev Tools I am seeing the gap for the The remaining quirks come from you tweaking CSS in Dev Tools, correct? Thanks again for digging into this -- it's a nasty bug that we'd love to fix once and for all. FYI, I am running the latest master branch of Brackets. You can clone Brackets if you care to try the master branch, otherwise we'll be posting some release candidate builds within the next week so you can try latest code with an installer. |
@redmunds You're right about But yes, I wouldn't want to make any changes if there are no visual glitches. It's just something to take note of for future changes when the gap reappears for some reason, or if there's a related glitch. And yes, the remaining quirks came from tweaking the CSS in Development Tools. |
FBNC to @julieyuan |
Closing as fixed. CC: @redmunds |
Steps:
Results:
The left sidebar will move up a little bit.
Expected:
The sidebar should not move.
ENV: MAC10.8.3 and Win8.1 English OS
Build: 0.32.0-9618
Snapshots:
Please refer to snapshots for details:
After Step3:
Step4:
The text was updated successfully, but these errors were encountered: