I'm trying to get a button to jump/scroll to a certain part of the webpage using dash-bootstrap-components. The anchor is added to the URL correctly, but the webpage doesn't move.
import dash_html_components as html
import dash_bootstrap_components as dbc
layout = html.Div([
...
html.Div([
dbc.Button('Record Information', id='record-info-btn', href='#record-info'
className='btn btn-orange align-middle btn btn-secondary')])
...
html.Div([
dbc.Form([
html.Div([
dbc.FormGroup([
html.Div([
html.H3('Record Information', id='record-info')
...
])
])
])
])
])
], className='whitContainerHalf')
I've tried using dbc.NavLink instead of Button, but the same thing happens.