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

Percent sized containers and toggle buttons with some browsers are broken #226

Open
bpatra opened this issue Mar 15, 2017 · 1 comment
Open

Comments

@bpatra
Copy link

bpatra commented Mar 15, 2017

Let us say I create the following container layout

<div ui-layout="{flow: 'column'}" >
  <div ui-layout-container size="30%"></div>
  <div ui-layout-container></div>
</div>

which is a vertically separated layout with one slidebar and the first left item is 30% of the container.
Then, after toggling to make first layout container disappear (the one with 30%) and toggling again to open it, the displayed size is incorrect. Indeed the 30% has been interpreted as 30px!

See reproduction case http://plnkr.co/edit/UvhJOo3WxHjdpY0huCuk?p=preview
Angular ui layout: 1.4.3
Angular 1.4.10

Reproducible deterministically with Firefox and MS Edge, randomly with Chrome.

Note that the collapsing of right section is broken but it is another bug, the issue #209

@ghost
Copy link

ghost commented Jun 15, 2017

Seeing this issue even with fixed size in pinxel on chrome.
e.g: size="28px"

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

1 participant