Skip to content

Commit a145788

Browse files
ssamulinatanrolnik
authored andcommitted
Fix display bug on safari when table has empty cells ('') (#731)
* Fixed display bug on safari when table has empty cells ('') * Fix: Display bug on safari when table has empty cells ('')
1 parent 69a8e71 commit a145788

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### NEXT RELEASE
44

55
* _Contributing to this repo? Add info about your change here to be included in next release_
6+
* Fix: Display bug on safari when table has empty cells ('')
67

78
### 1.0.28
89
* Feature: Add ability to search Object columns (#727), thanks to [Samuli Siivinen](https://github.com/ssamuli)

src/components/BrowserCell/BrowserCell.react.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ let BrowserCell = ({ type, value, hidden, width, current, onSelect, onEditChange
2929
} else if (value === null) {
3030
content = '(null)';
3131
classes.push(styles.empty);
32+
} else if (value === '') {
33+
content = <span>&nbsp;</span>;
34+
classes.push(styles.empty);
3235
} else if (type === 'Pointer') {
3336
content = (
3437
<a href='javascript:;' onClick={onPointerClick.bind(undefined, value)}>

0 commit comments

Comments
 (0)