Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor at wrong position after portrait to landscape rotation #2056

Closed
knopp opened this issue May 28, 2024 · 0 comments · Fixed by #2057
Closed

Cursor at wrong position after portrait to landscape rotation #2056

knopp opened this issue May 28, 2024 · 0 comments · Fixed by #2057
Assignees
Labels
area_super_reader Related to SuperReader area_supereditor Pertains to SuperEditor bounty_junior f:superlist Funded by Superlist platform_android Applies to use on Android platform_ios Applies to use on iOS time:2

Comments

@knopp
Copy link
Contributor

knopp commented May 28, 2024

cursor_position.mov

Seems like a regression caused by #1967

The problem is IosControlsDocumentLayerState accessing the RenderBox to get size inside computeLayoutDataWithDocumentLayout, but the way ContentLayers currently work, the computeLayoutDataWithDocumentLayout method is called during build, before the render box is laid out.

cc @angelosilvestre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area_super_reader Related to SuperReader area_supereditor Pertains to SuperEditor bounty_junior f:superlist Funded by Superlist platform_android Applies to use on Android platform_ios Applies to use on iOS time:2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants