Increase the timeout for topbar (#1125)

The topbar still shows way too frequently even
when the navigation feels snap.
This commit is contained in:
José Valim 2022-04-16 11:05:14 +02:00 committed by GitHub
parent d77899e8dd
commit 3e0b3fffac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ export function registerTopbar() {
window.addEventListener("phx:page-loading-start", () => {
if (!topBarScheduled) {
topBarScheduled = setTimeout(() => topbar.show(), 200);
topBarScheduled = setTimeout(() => topbar.show(), 500);
}
});