-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
Custom Control ItemTemplate fails to change at runtime in MAUI iOS #24492
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
I can repro this issue at iOS platform on the latest 17.12.0 Preview 1.0(9.0.0-preview.7.24407.4 & 8.0.72). |
Does it work if you use CollectionView @prathameshnarkhede ? |
@PureWeen |
Description
When I create Custom Control on top of ListView and try to change ItemTemplate at runtime, The ListView does not get new ItemTemplate in iOS.
Steps to Reproduce
TemplatedView
with a Collection Property and ItemTemplate Property.ContentPage
implementing Custom control and AddDataTemplate
to it.ControlTemplate
withListView
to Page.ListView
.ContentPage
to controlItemTemplate
of the Custom Control.ListView
fromTemplatedChild
and apply theItemTemplate
on Property change ofItemTemplate
.Expected: ListView ItemTemplate Changes to newly applied ItemTemplate on Windows, Android and iOS platforms.
Observed: ListView ItemTemplate Changes to newly applied ItemTemplate on Windows and Android but not on iOS.
Link to public reproduction project repository
https://github.com/prathameshnarkhede/mauiiositemtemplatebug.git
Version with bug
9.0.0-preview.7.24407.4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: