Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

custom additionalInputViewBottomConstraintConstant

Đang mở
#1,844 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ios, swift
Lĩnh vực
mobile

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ả

feature request

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MessageKit/MessageKit

Tất cả issue của MessageKit/MessageKit

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.