Skip to content

Support Modifier.keepScreenOn in Web Platforms#2784

Open
ApoloApps wants to merge 1 commit intoJetBrains:jb-mainfrom
ApoloApps:webWakeLock
Open

Support Modifier.keepScreenOn in Web Platforms#2784
ApoloApps wants to merge 1 commit intoJetBrains:jb-mainfrom
ApoloApps:webWakeLock

Conversation

@ApoloApps
Copy link

Support for Modifier.keepScreenOn for Web platform using Screen Wake Lock Api
Manages request when one or more clients (number of Modifier.Nodes requesting it) and the underlying call to Web Api. It also manages release when no more modifiers are in Composition plus the managing of Locks when window becomes blur and subsequently focused again (since the Api will release the lock when that happens)

Fixes Web-Support-Modifier.keepScreenOn

Testing

Used newly introduced tests

This should be tested by QA

Release Notes

Features - Web

@MatkovIvan MatkovIvan requested a review from eymar February 23, 2026 22:04
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

Successfully merging this pull request may close these issues.

1 participant