Open adrian-gralak95 opened 3 years ago
Hey, actually I've done some digging in my code and I didn't realise I had some styling attached to the table, seems like the issue only occurs when the propetry 'textAlign': 'center'
to the styling of the table. Editing the original bug report to reflect that.
Description
As the title states. Very weird and unexpected behavior occurs - the cytoscape component is translated by half of the component to the right, meaning only the left part of the component is rendered on the right side of the table. What's even weirder is that mouse interaction events work as expected, meaning if I click on the empty space on the left side of the table, I see mouse events on the right side of the table.
FYI - as a workaround this issue can be circumvented by using other components such as div with flex: left.
Steps/Code to Reproduce
Expected Results
Component rendered as normal
Actual Results
Versions
Dash 1.19.0 Dash Core Components 1.1.2 Dash HTML Components 1.15.0 Dash Renderer 1.9.0 Dash HTML Components 0.2.0
FYI - there is an issue in your versions script (you have
dash_renderer.__version)
written)