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

Component shifts y origin when a custom lineHeight is set #86

Open
danieljvdm opened this issue Oct 8, 2024 · 1 comment
Open

Component shifts y origin when a custom lineHeight is set #86

danieljvdm opened this issue Oct 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@danieljvdm
Copy link

I've defined a custom lineHeight in style seeMoreStyle and seeLessStyle:

style={{
  fontSize: 14,
  lineHeight: 18,
}}

Attached a GIF showing the shifting of the component.

CleanShot 2024-10-08 at 14 51 38

@fawaz-ahmed
Copy link
Owner

Hi @danieljvdm , thanks for raising this issue. Indeed I see the text moving downward slightly on expand. Though I'm not sure as to when I shall be able to push a fix. Incase you see a possible solution, do share or raise a PR. Thanks,

@fawaz-ahmed fawaz-ahmed added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants