Skip to content

fix: unable to set expanded or collapsed height in expansion panel #19322

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

Merged
merged 1 commit into from
May 12, 2020

Conversation

devversion
Copy link
Member

For the density system, we reworked the expansion panel to no longer
rely on Angular animations. Looks like the refactoring missed that units
are already set for the expandedHeight and collapsedHeight inputs.

This hasn't been catched in any unit test, so tests are updated to catch this now.

For the density system, we reworked the expansion panel to no
longer rely on Angular animations. Looks like the refactoring
missed that units are already set for the `expandedHeight` and
`collapsedHeight` inputs.

This hasn't been catched in any unit test, so tests are updated to catch
this now.
@devversion devversion requested a review from jelbourn as a code owner May 11, 2020 19:47
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label May 11, 2020
Copy link
Contributor

@andrewseguin andrewseguin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewseguin andrewseguin added lgtm action: merge The PR is ready for merge by the caretaker labels May 11, 2020
@devversion devversion merged commit affc893 into angular:density-api May 12, 2020
devversion added a commit that referenced this pull request May 14, 2020
…19322)

For the density system, we reworked the expansion panel to no
longer rely on Angular animations. Looks like the refactoring
missed that units are already set for the `expandedHeight` and
`collapsedHeight` inputs.

This hasn't been catched in any unit test, so tests are updated to catch
this now.
devversion added a commit to devversion/material2 that referenced this pull request May 14, 2020
Note: This commit is intentionally not marked as a feature because
density styles for the expansion panel are not public API yet:

Adds support for density scaling to the Angular Material
expansion panel. To be able to add support for density, the
panel header animation had to be reworked to be CSS based.

The existing inputs for setting collapsed/expanded height
still work as expected, but will not respect density.

* chore: fix buildifier formatting due to update

fix: unable to set expanded or collapsed height in expansion panel (angular#19322)

For the density system, we reworked the expansion panel to no
longer rely on Angular animations. Looks like the refactoring
missed that units are already set for the `expandedHeight` and
`collapsedHeight` inputs.

This hasn't been catched in any unit test, so tests are updated to catch
this now.
andrewseguin pushed a commit that referenced this pull request May 14, 2020
Note: This commit is intentionally not marked as a feature because
density styles for the expansion panel are not public API yet:

Adds support for density scaling to the Angular Material
expansion panel. To be able to add support for density, the
panel header animation had to be reworked to be CSS based.

The existing inputs for setting collapsed/expanded height
still work as expected, but will not respect density.

* chore: fix buildifier formatting due to update

fix: unable to set expanded or collapsed height in expansion panel (#19322)

For the density system, we reworked the expansion panel to no
longer rely on Angular animations. Looks like the refactoring
missed that units are already set for the `expandedHeight` and
`collapsedHeight` inputs.

This hasn't been catched in any unit test, so tests are updated to catch
this now.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants