Skip to content
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

Crushes on iOS #76

Open
vladikKBR85 opened this issue May 4, 2020 · 0 comments
Open

Crushes on iOS #76

vladikKBR85 opened this issue May 4, 2020 · 0 comments

Comments

@vladikKBR85
Copy link

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

  • Version with issue: 1.1.1
  • Last known good version: ---
  • IDE: Visual Studio Professional 2019
  • Platform Target Frameworks:
    • iOS: 13.4
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant