Skip to content

Conversation

@Ostrenkiy
Copy link
Contributor

Задача: #APPS-1776

Коротко для Release Notes, в формате «Сделали/Добавили/Исправили N»:
Исправили баг, когда лейаут при написании комментария уезжал наверх и никогда не возвращался

Описание:
Добавил UIScrollView под текствьюшку, чтобы все работало хорошо. Проблема была в IQKeyboardManager, который двигал вверх от клавиатуры всю вьюшку вместе с navigation-ом, а потом забывал ее возвращать.

@Ostrenkiy Ostrenkiy added the main label Feb 6, 2018
@Ostrenkiy Ostrenkiy added this to the 1.52 milestone Feb 6, 2018
@Ostrenkiy Ostrenkiy self-assigned this Feb 6, 2018
@Ostrenkiy Ostrenkiy requested a review from kvld February 6, 2018 19:10
@Ostrenkiy Ostrenkiy added the bug label Feb 6, 2018

private func setupTopConstraint() {
commentTextView.alignTopEdge(withView: self.view, predicate: "0")
// commentTextView.alignTopEdge(withView: self.view, predicate: "0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какую смысловую нагрузку теперь несёт этот метод? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

никакую, выпиливаю

@Ostrenkiy Ostrenkiy merged commit 0271b72 into dev Feb 6, 2018
@Ostrenkiy Ostrenkiy deleted the fix/write-discussions branch February 6, 2018 23:15
@Ostrenkiy Ostrenkiy mentioned this pull request Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants