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

Need tree collapse/expand events #67864

Closed
jrieken opened this issue Feb 4, 2019 · 1 comment
Closed

Need tree collapse/expand events #67864

jrieken opened this issue Feb 4, 2019 · 1 comment
Assignees

Comments

@jrieken
Copy link
Member

jrieken commented Feb 4, 2019

re #64727

The breadcrumb picker resizes based on the the number of visible items, e.g. it starts small when only having one folder but relayouts when expanding that. I didn't find events that correspond to onDidExpandItem and onDidCollapseItem and I would need them in both data tree (sync/async)

@joaomoreno
Copy link
Member

joaomoreno commented Feb 5, 2019

Since there are more things which might affect content height, I got you these events/properties instead:

https://github.com/Microsoft/vscode/blob/9deb608cc6c152d091484aebd9efcbbb35206f73/src/vs/base/browser/ui/tree/asyncDataTree.ts#L348

For height in pixels:

https://github.com/Microsoft/vscode/blob/9deb608cc6c152d091484aebd9efcbbb35206f73/src/vs/base/browser/ui/tree/asyncDataTree.ts#L344

Does that work?

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants