Removed tag input focusing in post upload

This caused multiple problems with too eager scrolling:
- adding a new post to upload queue scrolled the site to the tag input
- problems on android, where keyboard can change viewport size on focus
This commit is contained in:
Marcin Kurczewski 2014-10-18 09:59:34 +02:00
parent 46a100ff16
commit c452152f74
2 changed files with 0 additions and 2 deletions

1
TODO
View file

@ -3,7 +3,6 @@ first major release.
- autocomplete: don't reset active item if suggestions stay the same
- autocomplete: don't show items that are already used in tag list (unsure)
- posts/upload: fix scrolling due to focus when selecting multiple posts
- posts/upload: when adding multiple files, select first one, not last one
- posts/upload: better hotkeys for going to next post
- posts/upload: get rid of suggested tags after selecting next post

View file

@ -341,7 +341,6 @@ App.Presenters.PostUploadPresenter = function(
hidePostEditForm();
} else {
showPostEditForm(selectedPosts);
tagInput.focus();
}
$el.find('.post-table-op').prop('disabled', selectedPosts.length === 0);
}