-
Notifications
You must be signed in to change notification settings - Fork 85
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
🐞 Line height decreases when no characters exist on line #20
Comments
@austincondiff , i'll take this one, I'm having fun poking at CETV lately :) |
@ben-p-commits assigned it to you |
After doing some digging, I do see a code path for handling the empty text container case when laying out the I'm not seeing this bug in the sample app embedded in the dependency... a good sign we can fix this on our end. |
Also confirmed that pulling in the latest |
@krzyzanowskim - do you have any thoughts on how our usage of STTextView could be causing this? I'm stumped. Not sure how our code is influencing this... |
@ben-p-commits I believe the problem was caused when I decreased the font size of the line numbers. Because there is no text, the line collapses on the tallest item which is the smaller line number after removing the last character of the larger code. We may need a minimum height on each line or set the line height of the line number to be equal to the line height of the code. |
a slight edit to #170 could fix this issue. |
@luah5 Did you want to take this one then? |
i've barely looked into this but i'll take it, also CETV needs to be updated. |
This has been resolved with #211. Screen.Recording.2023-12-09.at.3.09.04.PM.mov |
Description
The line height decreases if no characters exist on the line.
Related issues
The text was updated successfully, but these errors were encountered: