Skip to content

InputBarAccessoryView slides to top on device with SwiftUI blocking messages #1734

@e1block

Description

@e1block

Describe the bug

When you come to enter a message, the InputBarAccessoryView pushes up so that the keyboard can be shown. This works correctly in the Simulator, but not on device. The messages get blocked in behind. See screenshot attached.

To Reproduce

Run the Example app on device, select SwiftUI Example, try to send a message.

Expected behavior

The messages are shown above the InputBarAccessoryView like they do with the other examples or when running in the Simulator.

Screenshots

Screen Shot 2022-08-10 at 12 46 37 PM

Environment

  • What version of MessageKit are you using? Latest main branch - 14dd6aa
  • What version of iOS are you running on? 15.4.1
  • What version of Swift are you running on? Swift 5
  • What device(s) are you testing on? Are these simulators? iPhone 11 Pro (device), iPhone 13 Pro (simulator)
  • Is the issue you're experiencing reproducible in the example app? Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions