Skip to content

Fix #2542 (renderContainer): mis-render on 401 on initial render #2571

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
Jan 16, 2015

Conversation

PaulL1
Copy link
Contributor

@PaulL1 PaulL1 commented Jan 16, 2015

Sometimes width of the header or the canvas were calculated as NaN,
which looks to be a race condition. Two fixes:

  • Use width when drawnWidth not available. Will potentially fail
    if with is '*' or a percentage, but seems to work fine for now
  • Call updateWidth if width isn't present

…ender

Sometimes width of the header or the canvas were calculated as NaN,
which looks to be a race condition.  Two fixes:

- Use width when drawnWidth not available.  Will potentially fail
if with is '*' or a percentage, but seems to work fine for now
- Call updateWidth if width isn't present
PaulL1 added a commit that referenced this pull request Jan 16, 2015
Fix #2542 (renderContainer): mis-render on 401 on initial render
@PaulL1 PaulL1 merged commit fe38be0 into angular-ui:master Jan 16, 2015
@c0bra c0bra removed the in progress label Jan 16, 2015
@PaulL1 PaulL1 deleted the 2542_401_render branch January 16, 2015 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants