Closed wbrgss closed 4 years ago
App used for the above gifs (taken from the docs)
In my version of Chrome, the
<div class="dash-dropdown-cell-value-container dash-cell-value-container" />
is rendered with a height of 30px
by default (depends on font size), while on Firefox, it is rendered with a height of 25px
.
This div has the following CSS applied:
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td .dash-cell-value-container {
width: 100%;
height: 100%;
}
In Firefox, if height
is manually set to 30px
, the issue is resolved (cell is clipped, not overflowing), even on very large font sizes:
I'm using Chrome Version 78.0.3904.108 (Official Build) (64-bit) on PopOS (Ubuntu flavour) and Firefox 70.0.1 (64-bit) on the same OS.
Additional context (private repo): plotly/dash-design-kit#582
Also note how the dropdown arrow / x
is uncentered, and the overall height of the table is shorter, on the left (Firefox)
In my version of Firefox, a dropdown within a cell with a new value selected (i.e. not on initial render) will overflow its cell container. The bottom grey border is overlapped:
Firefox:
Chrome