Unplanned
Last Updated: 21 Aug 2025 12:49 by Craig
Craig
Created on: 19 Aug 2025 15:22
Category: AutoComplete
Type: Bug Report
15
AutoComplete: [iOS] [MacCatalyst] Application hangs in multiple windows when trying to open the suggestion view
I have an AutoComplete control in multi windows, when trying to open the suggestion view, the app hands. 

When in single window, no issues. 
1 comment
Craig
Posted on: 21 Aug 2025 12:49

Product: Telerik UI for .NET MAUI
Version: 11.2.0 (Preview)
Platform: MacCatalyst
Control: RadAutoComplete

Description:

We are encountering a issue with the RadAutoComplete control in a .NET MAUI application targeting MacCatalyst. The application uses an MDI-style interface where each "window" is a ViewElement, not a popup. The RadAutoComplete is subclassed to create a custom control that fetches suggestions via a lookup service and calls ShowSuggestions() after updating the list.

The issue arises when using this control in the third or fourth MDI window. On MacCatalyst, calling ShowSuggestions() causes the application to hang indefinitely. No exceptions are thrown, and the app becomes unresponsive. This behavior does not occur on Windows.

Steps to Reproduce:

  • Launch the MAUI app on MacCatalyst.
  • Open multiple MDI-style windows (ViewElements).
  • Use the custom RadAutoComplete control in each window.
  • Type into the control to trigger the lookup and call ShowSuggestions().
  • On the third or fourth window, the app hangs.

Troubleshooting Attempts:

  • Verified that the control is focused before calling ShowSuggestions() using IsFocused.
  • Added a dispatcher delay before calling ShowSuggestions().
  • Tried gating the call behind a platform-specific check for window focus.
  • Confirmed the issue is specific to MacCatalyst; it does not occur on Windows.
  • Investigated potential popup rendering issues in non-focused windows.
  • Using Telerik UI for MAUI v11.2.0 (Preview).

Suspected Cause:

We suspect this may be related to a previously reported issue where popups render in the wrong window when the initiating window is not focused. It’s possible that ShowSuggestions() is attempting to render in an invalid context, causing the hang.

Request:

Can you confirm if this is a known issue in v11.2.0 preview?
Are there any recommended workarounds or patches?
Would you like a minimal repro project to investigate further?

 


    private void ShowSuggestions(bool show)
    {
        if (show)
        {
            ShowSuggestions();
            return;
        }
        HideSuggestions();
    }