This repository was archived by the owner on Sep 22, 2022. It is now read-only.
  
  
  
  
  
Description
I’m running into a problem where the calls to focus() are jumping the scroll around on my page. Specifically in Chrome with the dialogs inside of a sticky header. Changing .focus() to .focus({ preventScroll: true }) fixes the issue.
I’d love to have a prevent-scroll attribute on the <details-dialog> to opt into this behavior.