Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Misaligned table rows with fixed_row / fixed_column after mousing over table #803

Closed
michaelbabyn opened this issue Jul 14, 2020 · 2 comments · Fixed by #806
Closed

Misaligned table rows with fixed_row / fixed_column after mousing over table #803

michaelbabyn opened this issue Jul 14, 2020 · 2 comments · Fixed by #806
Assignees
Labels
bug regression Worked in a previous version size: 1

Comments

@michaelbabyn
Copy link

michaelbabyn commented Jul 14, 2020

This looks like the same error as #777 only it doesn't appear until I mouse back over the table after scrolling. Originally reported in the community
Peek 2020-07-14 10-10

Code:

import dash
import dash_table
import pandas as pd

df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')

app = dash.Dash(__name__)

app.layout = dash_table.DataTable(
    columns=[{"name": i, "id": i} for i in list(df.columns) * 3],
    data=df.to_dict('records'),
    fixed_rows={'headers': True},
    style_cell={'minWidth': '180px', 'width': '180px', 'maxWidth': '180px'},
)

if __name__ == '__main__':
    app.run_server(debug=True, port=8022)
@chriddyp chriddyp added the bug label Jul 14, 2020
@chriddyp
Copy link
Member

@chriddyp
Copy link
Member

cc @plotly/dash-core

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug regression Worked in a previous version size: 1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants