dotMorten / MauiEx

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

Crushes on iOS #76

Open vladikKBR85 opened 4 years ago

vladikKBR85 commented 4 years ago

Description

Have got an exception after setting a non-empty ItemSource property.

Objective-C exception thrown. Name: NSGenericException Reason: Unable to activate constraint with anchors <NSLayoutYAxisAnchor:0x6000000bb000 "UITableView:0x7f99b1c0a000.top"> and <NSLayoutYAxisAnchor:0x6000000badc0 "UITextField:0x7f99b1cbc400.bottom"> because they have no common ancestor. Does the constraint or its anchors reference items in different view hierarchies? That's illegal. Native stack trace: 0 CoreFoundation 0x00007fff23e39f0e __exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff50ad79b2 objc_exception_throw + 48 2 Foundation 0x00007fff25aa87d2 -[NSLayoutConstraint setActive:] + 0 3 Sirius.iOS 0x00000001029abf89 xamarin_dyn_objc_msgSend + 217 4 ??? 0x0000000110885b0c 0x0 + 4572338956

Steps to Reproduce

  1. Type something into AutoSuggestBox
  2. Handle the AutoSuggestBox_TextChanged event
  3. Set ItemSource property

Expected Behavior

A list wih suggestions should appear

Actual Behavior

An exception is thrown

Basic Information

Screenshots

Reproduction Link