Since version 4.10.0 of Dash editable DataTable, cannot place the cursor in a cell by double-clicking
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
Describe your context
dash 1.15.0
dash-core-components 1.11.0
dash-html-components 1.1.0
dash-renderer 1.7.0
dash-table 4.10.0
Describe the bug
In version 4.9.0 of the Dash editable DataTable, the cursor can be placed in a cell by double-clicking with the mouse.
However, since version 4.10.0, the cursor cannot be placed.
Code example
# -*- coding: utf-8 -*-
import dash
import dash_table
import dash_html_components as html
app = dash.Dash(__name__)
app.layout = html.Div([
html.P(f'dash-table == {dash_table.__version__}'),
dash_table.DataTable(
id='table',
columns=(
[{'id': p, 'name': p} for p in ['Column']]
),
data=[
dict(Model=i, **{param: 1111 for param in ['Column']})
for i in range(1, 3)
],
style_header={
"backgroundColor": "black",
"color": "white",
},
style_table={
'width':'10%',
},
editable=True
)
])
if __name__ == "__main__":
app.run_server(debug=True)
Context of version 4.9.0
dash 1.14.0
dash-core-components 1.10.2
dash-html-components 1.0.3
dash-renderer 1.6.0
dash-table 4.9.0
Expected behaviour
In the latest Dash editable DataTable, the cursor can be placed in a cell by double-clicking the mouse, as in version 4.9.0.
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 provided Python DataTable example with dash-table 4.9.0 and 4.10.0, then compare the editable-cell double-click behavior. Trace the DataTable interaction entry point responsible for placing the cursor and verify that double-clicking an editable cell restores the 4.9.0 behavior.
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