mazdik / ng-mazdik

Angular UI component library
https://mazdik.github.io/ng-mazdik
MIT License
89 stars 34 forks source link

cell-editing not have effect in chrome 49 #24

Closed huangwei16800 closed 5 years ago

huangwei16800 commented 5 years ago

cell-editing not have effect in chrome 49, have solution ?

when parent display is flex, if not have height value, child height:100% will not working.

huangwei16800 commented 5 years ago

edit

if add height:30px for the cell, child height:100% will working.

huangwei16800 commented 5 years ago

can add code for this case?

The child element inherits the height of the parent container only if it is specified explicitly. But min-height is not an explicit specification of height, so the computed height is "auto" and not 100%.

mazdik commented 5 years ago
.datatable-body-cell {
  height: 100%;
}

It works?

huangwei16800 commented 5 years ago

had ok .