angular-ui/ui-grid

The autoResize has some problem when I hide it

Open

#6,739 opened on May 30, 2018

View on GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (2,496 forks)batch import
help wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

ui-grid - v4.0.6 - 2017-06-14 When I hide the ui-grid,I get a "100%" width ranthor than a number and the layout go disorder. When I show the ui-grid ,it gets a right width and go normal.

ui-grid - v4.4.11 - 2018-05-16 When I hide the ui-grid ,the ui-grid get a 0 width and the layout go disorder. When I show the ui-grid,it wont trigger the autoSize and still be disorder.

When I increase the window width,the height is strange: [1041, 377]=>[1055, 753] [1055, 377]=>[1056, 753] [1056, 377]=>[1119, 753]

My ui-grid height is 753. But the width is always change from 377 to 753.

Contributor guide