Steps to replicate the issue (include links if applicable):
- create a App that starts out with an open Dialog
- mount that App
What happens?:
The background still scrolls.
What should have happened instead?:
The background doesn't scroll.
Other information (browser name/version, screenshots, etc.):
I've create a minimal failing example(MFE): https://test.wikipedia.org/wiki/User:Zvpunry/codexDialogProblem.js
You can try it out by adding mw.loader.load( 'https://test.wikipedia.org/w/index.php?title=User:Zvpunry/codexDialogProblem.js&action=raw&ctype=text/javascript' ); to your common.js
Use case:
I'm writing a Statement editing interface for mobile Wikidata, which means adding edit-buttons in a lot of places that open the same dialog with different data. It doesn't seem like a great idea to already mount the whole app in a lot of different places just to have the button there that might or might not be clicked.
Current workaround:
const open = ref(false); window.setTimeout(() => { open.value = true; }, 0);