Skip to content

KeyboardChatScrollView - complete example is not copy/paste ready #1590

Description

@kirillzyusko

Describe the bug

In https://kirillzyusko.github.io/react-native-keyboard-controller/docs/guides/building-chat-app#complete-example the "Complete example" is actually not complete.

Code snippet
Add your code snippet where error has been occurred.

Repo for reproducing

https://kirillzyusko.github.io/react-native-keyboard-controller/docs/guides/building-chat-app

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://kirillzyusko.github.io/react-native-keyboard-controller/docs/guides/building-chat-app#complete-example
  2. Click on "Copy code" button
  3. Paste code in example app
  4. See that styles are missing, Messages component is missing, unused imports are used, etc.

Expected behavior

I think it should be copy/paste ready so that people can grab it in their app and quickly check how code works

Screenshots

Image

Smartphone (please complete the following information):

  • Desktop OS: MacOS 26.5
  • Device: Chrome browser
  • OS: MacOS 26.5
  • RN version: 0.81.5
  • RN architecture: new
  • JS engine: Hermes
  • Library version: 1.22.3

Additional context

Most likely we were in rush to release it and simply forgot to make it copy/pastable and we left AI written code.

Metadata

Metadata

Assignees

Labels

KeyboardChatScrollView 💬Anything about chat functionalitydocumentationImprovements or additions to documentation🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions