Closed
Description
- SwiftUI only
- git branch:
4.0
Currently, when the View
holding the PageView
has changes and need refresh, PageView
modifiers changes are not propagated to UIKit (but SwiftUI contents inside Page
are 👍🏼).
My use case is that I support custom themes on my app, and everything is correctly updated except for the menu items.
I have attached three patches (4.0
branch):
- one to demonstrate the issue/use case (changes are applied to
DefaultView
on ExampleSwiftUI target) - one to allow the propagation of
.options
viaPagingControllerRepresentableView.updateUIViewController()
- one to respect the
.indicatorStyle()
modifier (after propagatingoptions
)
0001-Added-changes-to-DefaultView-to-exemplify.patch
0002-Propagate-.options-modifiers-on-View-updates.patch
0003-Fixed-.indicatorStyle-not-being-respected.patch
I would be very grateful if you could give a try and have a look!
Metadata
Metadata
Assignees
Labels
No labels