Skip to content

Conversation

@AgDude
Copy link
Contributor

@AgDude AgDude commented May 5, 2015

Refactor setting of header heights to be more DRY and ensure that rebuildStyles
is set when an explicit height is set. Do not set existing explicit heights to
null before recalculating height.

Fixes: #3394, #3382, #3409

Refactor setting of header heights to be more DRY and ensure that rebuildStyles is set when an explicit height is set. Do not set existing explicit heights to null before recalculating height. Fixes: angular-ui#3394, angular-ui#3382, angular-ui#3409
@AgDude
Copy link
Contributor Author

AgDude commented May 6, 2015

Note that this has not been validated in this case (as described by @c0bra): "If you have two render containers and one had filters that were on that you then turn off, they other header beds to know to shrink"

Is there a tutorial or other example which already has this scenario?

@AgDude
Copy link
Contributor Author

AgDude commented May 8, 2015

This does appears to work with toggling filters. Here is a demo: http://plnkr.co/edit/SmDX8lepvY2ItQOQvH4o?p=info

@c0bra
Copy link
Contributor

c0bra commented May 8, 2015

I will try to take a look when I can but I'm out of town till late next week

On Fri, May 8, 2015, 3:21 PM Nate Dudenhoeffer notifications@github.com
wrote:

This does appears to work with toggling filters. Here is a demo:
http://plnkr.co/edit/SmDX8lepvY2ItQOQvH4o?p=info


Reply to this email directly or view it on GitHub
#3424 (comment).

@AgDude
Copy link
Contributor Author

AgDude commented May 8, 2015

No problem we were just having some discussion on gitter about this issue.

@c0bra c0bra self-assigned this May 19, 2015
@AgDude AgDude force-pushed the issue-3394 branch 2 times, most recently from 37148bd to 65ad61f Compare May 26, 2015 16:24
c0bra added a commit that referenced this pull request May 26, 2015
fix(uiGridHeader): ensure that styles are rebuilt on explicit height
@c0bra c0bra merged commit b33d962 into angular-ui:master May 26, 2015
@c0bra
Copy link
Contributor

c0bra commented May 26, 2015

Looks great, @AgDude. Sorry for taking such a long time to get this merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants