dotMorten / MauiEx

A set of .NET MAUI controls
Apache License 2.0
224 stars 55 forks source link

using custom render of Autosuggest in iOS in multiple views (XAML) throws an exception. #68

Closed Dirwaz closed 4 years ago

Dirwaz commented 4 years ago

Description

Greetings,

in iOS when using the custom render of Autosuggest in multiple XAML an exception is thrown since i have a dependency on other field in the XAML. for example : i have a view called 'Browse' and a view called 'Upload', both of them utilize the custom render of Autosuggest and the first view loaded is the 'Browse'. in the TextChanges method for both views there is a dependency on other field to be chosen from a Picker so i can filter the data shown in the autosuggest. when i choose the field from the Picker then type in in the autosuggest filed in the 'Browse' view, an exception is thrown in the 'Upload' stating that i did not choose the Picker there! although i am in the 'Browse' view.

This only happens in iOS.

Steps to Reproduce

Expected Behavior

Actual Behavior

Basic Information

Screenshots

Reproduction Link

dotMorten commented 4 years ago

Thanks. Could you provide a repro app? There seems to be a lot of code to set up the repro and thus a great chance I won't reproduce it right (not to mention making repro cases is often 90-95% of the fixing so I'd appreciate the help)

Dirwaz commented 4 years ago

Sure here is a link for the code where the issue exists : https://www.dropbox.com/sh/r014a0za2tsnt5x/AACeU4dmlLK2FqplP0e99qgda?dl=0 Note that this appears only after upgrading to 1.1.0 version yesterday.

Dirwaz commented 4 years ago

Thnaks, please close this issue also as it is fixed in the master.