Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Width (height?) not updating on page resizing #80

Open
jonshaffer opened this issue Jan 24, 2017 · 3 comments
Open

Width (height?) not updating on page resizing #80

jonshaffer opened this issue Jan 24, 2017 · 3 comments
Labels

Comments

@jonshaffer
Copy link
Owner

This issue also exists when directive compiles before its parent directives have set widths

@jonshaffer jonshaffer added the bug label Jan 24, 2017
@TheBranchDriftCatalyst
Copy link

TheBranchDriftCatalyst commented Mar 28, 2017

If we could give it the jquery selector for the parent container we could watch the parent container for changes to height and recalculate. This would allow changing the height on the fly which is something I am trying to hack together now.

@TheBranchDriftCatalyst
Copy link

I've created PR that fixes this issue.

@TheBranchDriftCatalyst
Copy link

TheBranchDriftCatalyst commented Apr 4, 2017

I don't think I have resolved the issue with the directive compiling before it's parent. I believe I have run into the effects of that issue. I have a resolution in place (ng-if) which prevents the directive from rendering until the necessary data in the parent controller is present. I did, however, fix the issue with the throttle function not triggering the resize function.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants