We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug ObjectHeader footnote text is cut when user changes dynamic text size
To Reproduce
struct BrokenObjectHeader: View { var body: some View { NavigationView { NavigationLink("Open details") { ScrollView { VStack(spacing: 30) { ObjectHeader { Text("Some title text explaining something") .font(.fiori(forTextStyle: .title3)) .foregroundColor(.preferredColor(.primaryLabel)) .fontWeight(.black) } subtitle: { Text("Some author name") .font(.fiori(forTextStyle: .body)) .foregroundColor(.preferredColor(.secondaryLabel)) .fontWeight(.regular) } footnote: { Text("2 days ago") .font(.fiori(forTextStyle: .subheadline)) .foregroundColor(.preferredColor(.tertiaryLabel)) .fontWeight(.regular) } } } } } } } `
Expected behavior The text should be fully rendered with matching dynamic size
Screenshots
Mobile (please complete the following information):
The text was updated successfully, but these errors were encountered:
@shengxu7 Can you take a look at this issue when you get a chance?
Sorry, something went wrong.
shengxu7
No branches or pull requests
Describe the bug
ObjectHeader footnote text is cut when user changes dynamic text size
To Reproduce
`
import FioriCharts
import SwiftUI
import FioriCharts
import FioriSwiftUICore
import FioriCharts
import FioriSwiftUICore
import SwiftUI
struct ContentView: View {
var body: some View {
BrokenObjectHeader()
}
}
struct BrokenObjectHeader: View {
var body: some View {
NavigationView {
NavigationLink("Open details") {
ScrollView {
VStack(spacing: 30) {
ObjectHeader {
Text("Some title text explaining something")
.font(.fiori(forTextStyle: .title3))
.foregroundColor(.preferredColor(.primaryLabel))
.fontWeight(.black)
} subtitle: {
Text("Some author name")
.font(.fiori(forTextStyle: .body))
.foregroundColor(.preferredColor(.secondaryLabel))
.fontWeight(.regular)
} footnote: {
Text("2 days ago")
.font(.fiori(forTextStyle: .subheadline))
.foregroundColor(.preferredColor(.tertiaryLabel))
.fontWeight(.regular)
}
}
}
}
}
}
}
`
clipped-text-issue.mov
Expected behavior
The text should be fully rendered with matching dynamic size
Screenshots
Mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: