Skip to content

Place platform layers on root view controller#2833

Merged
Andrei Salavei (ASalavei) merged 2 commits into
jb-mainfrom
andrei.salavei/view-controller-based-layers
Mar 9, 2026
Merged

Place platform layers on root view controller#2833
Andrei Salavei (ASalavei) merged 2 commits into
jb-mainfrom
andrei.salavei/view-controller-based-layers

Conversation

@ASalavei

@ASalavei Andrei Salavei (ASalavei) commented Mar 5, 2026

Copy link
Copy Markdown

Platform layers are now located on the root view controller of the corresponding window or on top of the modal view controller.
Removed code that synchronized status bar style and device orientation with the platform layers view controller.

Fixes https://youtrack.jetbrains.com/issue/CMP-9806/Cursor-sets-to-wrong-position-after-long-press-drag
Fixes https://youtrack.jetbrains.com/issue/CMP-9772/iOS-Compose-Dialog-renders-above-native-iOS-sheets-ASWebAuthenticationSession-since-1.11.0-alpha02
Fixes https://youtrack.jetbrains.com/issue/CMP-9807/Selection-handles-arent-render-inside-Magnifier-but-located-above-it

Release Notes

Fixes - iOS

  • Fix an issue where the text cursor appeared in the wrong position when dragging it after selecting text
  • Fix an issue where selection handles were not rendered inside the magnifier
  • Fix an issue where popups and dialogs were displayed above a modally presented view controller

Breaking Changes - iOS

  • Dialog and Popup container views are now located on a system transition view above the root view controller, but below modally presented view controllers. This may affect presentation of interop view controllers

…poseLayersViewController.ios.kt

Co-authored-by: Vendula Švastalová <vendula.svastalova@jetbrains.com>
@ASalavei Andrei Salavei (ASalavei) merged commit 5411768 into jb-main Mar 9, 2026
16 checks passed
@ASalavei Andrei Salavei (ASalavei) deleted the andrei.salavei/view-controller-based-layers branch March 9, 2026 16:39
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.

3 participants