DataTable dropdown arrow overlaps cell content when clearable is False
Open
Nobody has claimed this yet.
bug
dash-data-table
P3
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
In Dash 2.1.0 when using dropdowns in DataTable and setting clearable to False, the dropdown arrow overlaps the cell content.
Minimal example:
from dash import Dash, dash_table, html
app = Dash(__name__)
app.layout = html.Div(
dash_table.DataTable(
id="test",
data=[
{"greeting": "hello", "bool_value": True},
{"greeting": "world", "bool_value": False},
],
columns=[
{"name": "greeting", "id": "greeting"},
{"name": "bool_value", "id": "bool_value", "editable": True, "presentation": "dropdown"},
],
dropdown={
"bool_value": {
"options": [{"label": "false", "value": False}, {"label": "true", "value": True}],
"clearable": False,
}
}
)
)
app.run_server(host="0.0.0.0", port=8000)

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the minimal Dash example with a DataTable dropdown whose clearable option is false, then inspect the DataTable dropdown rendering and styles. Done means the arrow no longer overlaps the cell content in this configuration while the dropdown remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100