Avoid opening keyboard during view transition
This commit is contained in:
parent
b90d20341e
commit
6208cc578e
2 changed files with 1 additions and 2 deletions
|
|
@ -125,7 +125,6 @@
|
||||||
function openAddView() {
|
function openAddView() {
|
||||||
if (state.currentView !== "addView") state.previousView = state.currentView;
|
if (state.currentView !== "addView") state.previousView = state.currentView;
|
||||||
showView("addView");
|
showView("addView");
|
||||||
window.setTimeout(() => $("#amount").focus(), 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function closeAddView() {
|
function closeAddView() {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
<title>Пожитки</title>
|
<title>Пожитки</title>
|
||||||
<link rel="stylesheet" href="./styles.css?v=13" />
|
<link rel="stylesheet" href="./styles.css?v=13" />
|
||||||
<script src="./telegram-web-app.js"></script>
|
<script src="./telegram-web-app.js"></script>
|
||||||
<script src="./app.js?v=13" defer></script>
|
<script src="./app.js?v=14" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main class="shell">
|
<main class="shell">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue