I have a Dash app where I want element scrolling like:
<div id="scrollhere"></div>
<a href="#scrollhere"></a>
I want to use a callback instead of the <a> element.
For example:
@app.callback(
Output('url', 'pathname'),
[Input('map', 'clickData')]
)
def map_click_callback(clicked):
if not clicked:
raise PreventUpdate
return "#scrollhere"
Is this possible?