Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Device.IsInvokeRequired is not changing to false after running the method on mainthread #15756

Open
ghost opened this issue Jun 1, 2023 · 1 comment
Labels
s/unverified New report that has yet to be verified t/bug 🐛

Comments

@ghost
Copy link

ghost commented Jun 1, 2023

Description
When loading a page asynchronously to a secondary window using a dispatcher on button click.then after running the method on method in secondary window.the Device.IsInvokeRequired Property does not changing to false.

Note : Checked with latest Xamarin.Forms 5.0.0.2599-pre1(5.0.0 Service Release 15 Pre Release 1)

Steps to Reproduce
Click the button.
Click the CheckisOnMainthread button twice.
open output window

Sample
SecondWindow.zip

Expected Behavior
Device.isInvokeRequired should be false after running the method on Mainthread.

Actual Behavior
Device.IsInvokRequired remains true even after running on MainThread.

Screenshots
image

@ghost ghost added s/unverified New report that has yet to be verified t/bug 🐛 labels Jun 1, 2023
@ghost
Copy link
Author

ghost commented Jul 13, 2023

Hi team,
Any update regarding this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant
and others