Page 1 of 1

Wie kann ich das Scrollen unmittelbar nach dem Schließen des Q-Dialog-Modalfensters auf Android deaktivieren?

Posted: 14 Feb 2025, 11:01
by Anonymous
Ich entwickle eine mobile Anwendung mit Vue -Kondensator. Das modale Fenster in der Anwendung wird mit q-Dialog implementiert. Wenn Sie das modale Fenster mit einem Schlag schließen, scrollt der Bildschirm zusammen mit dem modalen Fenster, was ärgerlich ist. Ich habe dieses Problem für iOS behoben, aber das Problem bleibt für Android < /p>
auf iOS. Ich habe dies mit < /p>
behoben

Code: Select all

body.platform-ios.q-body--prevent-scroll { position: relative !important; }

Code: Select all

body.platform-ios.q-body--prevent-scroll { overflow-y: hidden !important; position: relative !important; height: 1px; }

Wie repariere ich es auf Android?