✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Scrollbar does not work for me (python)

Hi All,

I can’t seem to get scroll to work, I’ve tried overflowY and set the height of the div to 500 with the graph height of 4000. Nothing happens besides the scrollbar appearing (but to the height of the graph).

Thanks!

Try to add in your config of Graph:

config = {
    'scrollZoom': True
}

app.layout = html.Div([
        dcc.Graph(id='graph',
                  ...
                  config=config)
    ])