react-component / react-component/input-number

Can't hide Keyboard and make TextInput uneditable

Open
#85 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
323
Forks
188
Avg merge
20h 3m
Merged PRs (30d)
1

Description

I would like to stop the keyboard from appearing when clicking on the value and therefore make the TextInput uneditable. I still want to use the + and - buttons to change the value. At the moment I have used onFocus from props to remove the keyboard(Keyboard.remove()). However the keyboard opens and then closes. I'm more than happy to fork the project and make a new prop for this.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the TextInput implementation and the existing onFocus handling in the repository. Reproduce the keyboard opening and closing behavior, then identify the relevant tests or entry points for input interaction. Done means the value remains editable through the + and - buttons while tapping the value does not open the keyboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, react-native, typescript
Domain
mobile-dev
Issue type
Feature
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.