custom additionalInputViewBottomConstraintConstant
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu trong MessagesViewController+Keyboard và so sánh hành vi được yêu cầu với cách tiếp cận additionalBottomSpace trong pull request 1821. Theo dõi callback khi ẩn bàn phím và xác minh rằng hằng số constraint phía dưới tùy chỉnh được áp dụng trong khi bàn phím đang ẩn, bao gồm cả hành vi layout resulting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
==============================
Hello, can you do the bottom area height customization support when the keyboard is dismiss
MessagesViewController+Keyboard
Realization and support custom additionalInputViewBottomConstraintConstant, similar additionalBottomSpace
callbacks[.willHide] = { [weak self] (notification) in
guard notification.isForCurrentApp else { return }
self?.justDidWillHide = true
self?.animateAlongside(notification) { [weak self] in
self?.constraints?.bottom?.constant = self?.additionalInputViewBottomConstraintConstant() ?? 0
self?.inputAccessoryView?.superview?.layoutIfNeeded()
}
DispatchQueue.main.async {
self?.justDidWillHide = false
}
}
- Ngôn ngữ chính
- Swift
- Star
- 6.3k
- Fork
- 1.2k
- Merge trung bình
- 12 giờ 4 phút
- Pull request đã merge (30 ngày)
- 9
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MessageKit/MessageKit
-
Keyboard bug Đang mởbug?
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
MessageKit/MessageKit#1901 ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
MessageKit/MessageKit#1888 · 2 bình luận ·
-
Transparent navigation bar in messageInputBar but messagesCollectionView is not shown in these areas Đang mởfeature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
MessageKit/MessageKit#1884 · 1 bình luận ·
-
feature request
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
MessageKit/MessageKit#1880 ·
-
bug?
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
MessageKit/MessageKit#1878 ·
Tất cả issue của MessageKit/MessageKit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
area:general bug P1 security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
uttrflow/uttrflow-swift#1333 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
maxgoedjen/secretive#840 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
manaflow-ai/cmux#13763 ·