Skip to content
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

letterSpacing does not work on placeholder on iOS #19002

Closed
3 tasks done
dblachut-adb opened this issue Apr 24, 2018 · 6 comments
Closed
3 tasks done

letterSpacing does not work on placeholder on iOS #19002

dblachut-adb opened this issue Apr 24, 2018 · 6 comments
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@dblachut-adb
Copy link

dblachut-adb commented Apr 24, 2018

Environment

Environment:
  OS: macOS High Sierra 10.13.1
  Node: 9.11.1
  Yarn: Not Found
  npm: 5.6.0
  Watchman: Not Found
  Xcode: Xcode 9.2 Build version 9C40b
  Android Studio: Not Found

Packages: (wanted => installed)
  react: ^16.3.1 => 16.3.1
  react-native: ^0.55.3 => 0.55.3

Steps to Reproduce

<TextInput
  style={{ letterSpacing: 10 }}
  placeholder="I will not respect letterSpacing value on iOS"
/>

Expected Behavior

letterSpacing is applied to placeholder
It could be nice to have some separate prop with placeholder style (not only color).

Actual Behavior

letterSpacing is not applied to placeholder on iOS, after entering text it works correctly.
It works on Android without any problems.

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Apr 24, 2018
@stale
Copy link

stale bot commented Aug 12, 2018

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 12, 2018
@mydesweb
Copy link

this is still an issue even in 0.56 version, I really don't understand why you close so many issues just because there is no activity.. this is annoying!!!

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Aug 17, 2018
@Zvukamar
Copy link

Zvukamar commented Nov 8, 2018

Same problem here!

@skizzo
Copy link

skizzo commented Feb 13, 2019

+1, any updates on this?

@sgtpepper43
Copy link

It looks like placeholder isn't using a number of styles that it should be, right now we have a problem where it completely ignores the line-height

@CatapultJesse
Copy link

facebook-github-bot pushed a commit that referenced this issue Mar 5, 2019
Summary:
After some refactor of text input attributes, we can now add style attributes  the same as text input's attributes, from #19002 (comment), user wants placeholder to support line-height , I think we can add it now for multiline text input.

[iOS] [Added] - Added lineHeight support of placeholder for multiline text input
Pull Request resolved: #23760

Differential Revision: D14320600

Pulled By: cpojer

fbshipit-source-id: ededeaa11560af089ca15ffc188e2e70db2ad7d4
@facebook facebook locked as resolved and limited conversation to collaborators Mar 4, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants