TabBar icon indicating copy to clipboard operation
TabBar copied to clipboard

Fix tab content view recreation

Open winddpan opened this issue 1 year ago • 1 comments

This PR intent to prevent tab content view recreation. Mainly used StateObject to maintain the state and set opacity=0 to keep the view. (And aslo support tab content view lazy loading) Sorry for the many format changes due to SwiftFormat. Also, I made some modifications to the test the view keeping in the demo. If you don't like it, I can submit a new PR with minimal changes.

winddpan avatar Apr 11 '24 17:04 winddpan

Updated the base branch to release/2.0.0 as it introduces breaking changes.

onl1ner avatar Apr 12 '24 19:04 onl1ner