You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before you submit an issue, please complete the report with all the relevant details for your bug and go through every item in the checklist.
Describe the bug
First off, this is a pretty incredible library! Thank you for all the hard work on it. We'd like to use this in our SwiftUI project, but are currently wrestling with issues around dynamic type size.
structContentView:View{varbody:someView{Markdown("You may be excluded from filing a Beneficial Owner Report if your company is one of the following. Check out the [FinCEN Beneficial Ownership Guide](https://www.fincen.gov/sites/default/files/shared/BOI_Small_Compliance_Guide.v1.1-FINAL.pdf) if you think you may be exempt.").markdownTextStyle{FontSize(12)}Text("You may be excluded from filing a Beneficial Owner Report if your company is one of the following. Check out the [FinCEN Beneficial Ownership Guide](https://www.fincen.gov/sites/default/files/shared/BOI_Small_Compliance_Guide.v1.1-FINAL.pdf) if you think you may be exempt.").font(.system(size:12))}}
It seems that Markdown and Text view increase/decrease dramatically different. I would expect that they scale proportionally. I've tried this across several different iOS simulators. Can you help me understand why they don't scale proportionally?
Any help here is greatly appreciated!
Checklist
I can reproduce this issue with a vanilla SwiftUI project.
I can reproduce this issue using the main branch of this package.
Steps to reproduce
Explanation of how to reproduce the incorrect behavior. This could include an attached project, a link to code, or a Markdown-formatted text exhibiting the issue.
Thank you for contributing to MarkdownUI!
Before you submit an issue, please complete the report with all the relevant details for your bug and go through every item in the checklist.
Describe the bug
First off, this is a pretty incredible library! Thank you for all the hard work on it. We'd like to use this in our SwiftUI project, but are currently wrestling with issues around dynamic type size.
Video demonstrating the issue:
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-02-16.at.17.20.37.mp4
It seems that
Markdown
andText
view increase/decrease dramatically different. I would expect that they scale proportionally. I've tried this across several different iOS simulators. Can you help me understand why they don't scale proportionally?Any help here is greatly appreciated!
Checklist
main
branch of this package.Steps to reproduce
Explanation of how to reproduce the incorrect behavior. This could include an attached project, a link to code, or a Markdown-formatted text exhibiting the issue.
Markdown-Testing.zip
Expected behavior
Markdown
andText
view would scale proportionally when increasing/decreasing dynamic type size.Screenshots
Same video as above:
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-02-16.at.17.20.37.mp4
Version information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: