callstack / callstack/react-native-paper

Disabled button with padding

Open
#4,151 14 comments 0 reactions 0 assignees View on GitHub
Button question
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

I have a form that while is sending data I set disabled and loading for button.
I don't know why, I'm getting a strange padding. I cannot reproduce is a simple example. Any idea?

![WhatsApp Image 2023-10-23 at 23 46 22](https://github.com/callstack/react-native-paper/assets/71793326/4b37b0e5-981c-4d58-b6ae-e61f16557c5e)
![WhatsApp Image 2023-10-23 at 23 47 28](https://github.com/callstack/react-native-paper/assets/71793326/7dabbdcc-3d6a-4ffd-9ddb-8e33040ae752)

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named, and the report says the problem cannot be reproduced with a simple example. Start by obtaining a minimal reproduction for a button using disabled and loading states, then trace the button styling involved. Done means identifying the cause of the extra padding and confirming the corrected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.