ExpandableText icon indicating copy to clipboard operation
ExpandableText copied to clipboard

App Store-like SwiftUI expandable text view with "more" button, iOS 13+, fully customizable

Results 5 ExpandableText issues
Sort by recently updated
recently updated
newest added

thx to @stackotter who suggested `onChange` for condensation of text when it changes!!!

The views above the ExpandedText are shifting when collapsing/expanding. Looks like the issue is with the `.default` animation. Ideally, this has to work with animations but for now, I am...

As warned by Xcode for iOS 17+, in a future version of iOS, `foregroundColor` will be deprecated. This PR updates the `foregroundColor` and `moreButtonColor` modifiers to use `ShapeStyle`, instead of...

Needed to customize the pressed color on more button to match app's existing UI. Also fixed an intrinsic size issue when using UIHostingController in UIKit. Added second fix to use...

**Description** This pull request introduces a new feature to the ExpandableText component: users can collapse the expanded text by clicking a "Show Less" button. **Key Changes:** 1. Show Less Button:...