You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fujidaiti
changed the title
A sheet snaps to a wrong position after the keyboard is closed
Sheet snaps to a wrong position after the keyboard is closed
Feb 14, 2024
Fixes#22. Unfortunately, there are still some problems related to the
keyboard (e.g. #14) that will be taken care of in a future PR.
Summary:
- Added `SheetExtent.settle`, which causes the sheet to settle into a
stationary position similar to the `goBallistic(0.0)`, but with a
constant (non zero) and relatively high velocity.
- Added `SheetActivity.didFinalizeDimensions`, which is called once in a
frame after all measurement processes for both the content and the
viewport size have been completed.
Steps to reproduce
Reproduction code
Actual results
Video
RocketSim_Recording_iPhone_15_6.1_2024-02-05_21.29.39.mp4
Expected results
In the above example, the sheet position should be maintained before and after the keyboard is closed.
The text was updated successfully, but these errors were encountered: