Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Layout not rezized when parent size change #218

Open
dockinkong opened this issue Jul 19, 2016 · 2 comments
Open

Layout not rezized when parent size change #218

dockinkong opened this issue Jul 19, 2016 · 2 comments

Comments

@dockinkong
Copy link

Hello,

I added an ui-layout near a collapsable side menu and it is not resized until I click on. Is there a way to force ui-layout having the size of its parent or fire an event to force it to resize?

Regards

@lbohdan
Copy link

lbohdan commented Sep 20, 2016

Hi, I have the same problem. As a temporary decision I've added listener for collapsable block and in handler I'm just doing next:

$window.dispatchEvent(new Event('resize'));

But it causes $digest issues in my case. So I also need better decision.

@ScottVaughan
Copy link

ScottVaughan commented Apr 27, 2017

I have the same issue. I have a collapsible slide out pane and ui-layout won't refresh until I click on it. Has anyone come up with a solution to this?

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

3 participants