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

position scrollbar for settings on far-right #56167

Closed

Conversation

itamark
Copy link
Contributor

@itamark itamark commented Aug 10, 2018

Solves #55795

@itamark
Copy link
Contributor Author

itamark commented Aug 11, 2018

@ramya-rao-a @roblourens any idea why VSTS: VS Code is failing so much?

@ramya-rao-a
Copy link
Contributor

A unit test in master is failing. It has nothing to do with your changes. We will most likely get to it on Monday.

@roblourens
Copy link
Member

Now the shadow extends to the right too, and it should only go over the settings tree area. Also it should extend over the TOC too. That's why I had some of the weirdness before with the absolutely positioned TOC on top of of the settings tree.

image

Personally I'm not a fan of the shadow anyway, and it's complicating things for us here, but we have to keep it for now.

@itamark
Copy link
Contributor Author

itamark commented Aug 12, 2018

@roblourens Okay I limited the width of the container and its shadow to not extend as far as the entire scrollable area does.
scroll2

@roblourens
Copy link
Member

roblourens commented Aug 13, 2018

Is it possible to get the shadow to show over the TOC like it did before though?

Currently the settings list shadow shows over both lists, and the TOC shadow is hidden. I don't want to change that yet.

If it's not possible to do that without jumping through hoops or changing the DOM structure, let me know. I'm not a huge fan of the shadow here, we might be able to get rid of it.

@itamark
Copy link
Contributor Author

itamark commented Aug 14, 2018

I'll take care of it tomorrow 😊

@itamark
Copy link
Contributor Author

itamark commented Aug 17, 2018

@roblourens It would be a bit of a thing to get that shadow back. Plus, I think it's incorrect to have the TOC shadowed. The tree is the thing that's scrolling - not the TOC, no?

@roblourens
Copy link
Member

Well, we don't want to have separate shadows for the trees right next to each other, and we think it looks weird for the settings list to just have a shadow that cuts off at the TOC, so this was the compromise... I still want to do something different here like just remove the shadow entirely... I'll just leave this open for now.

@itamark
Copy link
Contributor Author

itamark commented Aug 17, 2018

@roblourens I gave it another shot and was able to figure it out.

@roblourens
Copy link
Member

It looks like the tree isn't able to shrink properly:

image

With overriding the scrollbar positioning and everything this might be getting to a hack level that I don't want to take.

@roblourens
Copy link
Member

Going in a slightly different direction but thanks for your work on this :)

@roblourens roblourens closed this Sep 21, 2018
@itamark
Copy link
Contributor Author

itamark commented Sep 21, 2018 via email

@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants