Releases: mshibanami/ResizingTextView
Fixed an animation-related issue on iOS
On iOS, my app Redirect Web for Safari, which uses ResizingTextView, has an issue where the animation of adding a new row to the List
in SwiftUI isn't smooth.
before_converted.mov
This usually doesn't happen, and I think it's an edge case related to UITableView
used inside List
.
To solve it, I added a view.layoutIfNeeded()
to ensure the layout is recalculated immediately. This is how it works now:
after_converted.mov
3.0.0
The version 2.1.0 has a bug that removes the default padding of an editable text view. Now, the default 8pt vertical padding has been restored.
Some users might already be working around this bug, so to avoid disrupting their solutions, I have incremented the major version.
If you're updating from 2.0.0 or earlier, this release shouldn't cause any breaking changes.
2.2.0
Fixed that the placeholder location is not correct in iOS.
2.1.0
Make textContainerInset easier to customize