Fabrice-TIERCELIN commited on
Commit
28cc584
·
verified ·
1 Parent(s): 90c61c1

js="document.getElementById('output_id').scrollIntoView()"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -597,7 +597,7 @@ with gr.Blocks(js=js) as app:
597
  fn=lambda: None,
598
  inputs=[],
599
  outputs=[],
600
- js="document.getElementById('output_id')?.scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'})"
601
  )
602
 
603
  with gr.Row(visible=False):
 
597
  fn=lambda: None,
598
  inputs=[],
599
  outputs=[],
600
+ js="document.getElementById('output_id').scrollIntoView()"
601
  )
602
 
603
  with gr.Row(visible=False):