dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.02k stars 1.73k forks source link

Content is not render properly when the 'Don't keep activities' setting is enabled #24927

Open AarthiArjunan opened 2 hours ago

AarthiArjunan commented 2 hours ago

Description

In our custom control, When the 'Don't keep activities' setting is enabled, the custom control content disappears after navigating away from and back to our application. The expected behavior is that it should not disappear and should render properly.

Steps to Reproduce

1.Go to the developer options.

  1. Enable the don't keep activities option.
  2. Run the sample.
  3. draw something in screen
  4. navigating away from and back to our application.
  5. drawn content will disappear. The Excepted behavior
  6. It should not disappear.

Link to public reproduction project repository

MauiSignaturePad

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

similar-issues-ai[bot] commented 2 hours ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.