-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[patch-package fix] #2979 label covers text on iOS multiline TextInput #3020
Comments
Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.dev link or link to a GitHub repo under your username). Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup. |
Couldn't find version numbers for the following packages in the issue:
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3. |
Hey @Svarto, I will apply & run your patch to check if everything is correct. If it will be ok, are you willing to open the PR? |
Sure, let me know how the tests go! |
Hello @Svarto, please open the PR with your approach with one additional change:
|
Facing same issue.. Please open the PR @Svarto |
Waiting for that PR too |
@Insider32 @jensonjohn001 alright, I am on it! |
Any updated on this? I am using "react-native": "https://github.com/expo/react-native/archive/sdk-44.0.0.tar.gz", |
The PR is ready, waiting for fixing lint. In the meantime you can use the patch which @Svarto provided. |
Patch is released in |
@lukewalczak I just upgraded to 4.11.2 but the issue persists. |
@NotoriousGBG could you please send a snack? |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.There was a PR that tried to fix the iOS multiline label covering the underlying text, unfortunately this added a bigger issue of the label covering the underlying text even if no label was present. On top of this, it used a backgroundColor that was not controllable from the component (hardcoded in react-native-paper) - which meant if someone specified their own backgroundColor the label would have a different backgroundColor.
This simple patch-package checks if a label is present, and if so renders the label container, and also matches the backgroundColor with the backgroundColor set in style prop of TextInput.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: