badoo / badoo/Chatto

PhotosChatInputItem problem with hardware keyboard

Open
#476 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.6k
Forks
588
PR merge metrics
No merged PRs in 30d

Description

Using an bluetooth / hardware keyboard in the simulator the PhotosChatInputItem calculates the height incorrectly. It starts out small and keeps shrinking upon each display until it's not even visible anymore.

![simulator screen shot - iphone 7 - 2018-04-30 at 12 23 27](https://user-images.githubusercontent.com/270072/39438222-5593c004-4c71-11e8-9cef-ccd99bb80032.png)

From here, I click on the keyboard icon then back to the photo icon and here is what it looks like:

![simulator screen shot - iphone 7 - 2018-04-30 at 12 23 32](https://user-images.githubusercontent.com/270072/39438229-59999dcc-4c71-11e8-9dfd-e0897e7f9993.png)

It seems fine if I only use the soft keyboard.

Contributor guide

Open the contributing guide

Research direction

Start by locating PhotosChatInputItem and reproducing the issue in the simulator with a hardware keyboard, switching between the keyboard and photo icons. Compare its height behavior with the soft keyboard case; done means the item no longer shrinks on repeated displays and remains visible after switching back to photos.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.