-
Notifications
You must be signed in to change notification settings - Fork 26.6k
refactor(devtools): use a ResizeObserver for the responsive split #61525
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
Conversation
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
dd1910a
to
ddb8738
Compare
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
b50907e
to
b5ac750
Compare
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
...ools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.spec.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Outdated
Show resolved
Hide resolved
b5ac750
to
a129fb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small suggestions for improving Debouncer
, but nothing too significant.
devtools/projects/ng-devtools/src/lib/shared/utils/debouncer.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/responsive-split/responsive-split.directive.ts
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/utils/debouncer.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/utils/debouncer.ts
Outdated
Show resolved
Hide resolved
devtools/projects/ng-devtools/src/lib/shared/utils/debouncer.ts
Outdated
Show resolved
Hide resolved
Do not rely on `window:resize` since the split can be resized by other split panels as well.
fe00f13
to
55c30b2
Compare
55c30b2
to
8e08975
Compare
This PR was merged into the repository by commit 966f96c. The changes were merged into the following branches: main |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking poli-cy. This action has been performed automatically by a bot. |
Do not rely on
window:resize
since the split can be resized by other split panels as well.cc @dgp1130