Keep rename preview scroll reports outside source boundaries

This commit is contained in:
2026-09-13 02:44:11 -07:00
parent 022d8cda2a
commit bebf9f594c
2 changed files with 12 additions and 0 deletions
@@ -444,10 +444,17 @@ async fn details_remount_restores_wheel_offset_before_any_rescroll() {
offset > 10.,
"real wheel input must move the overflowing fixture"
);
let interaction = app.source_symbols.interaction;
let camera = app.camera_boundary();
let allocation = app.allocation_boundary();
for message in reports.iter().cloned() {
let task = app.update(message);
assert_eq!(mounted.execute(&app, task).await, 0);
}
assert_eq!(app.source_symbols.interaction, interaction);
assert!(app.camera_boundary() == camera);
assert!(app.allocation_boundary() == allocation);
assert_eq!(evidence(&app), before);
assert_eq!(
app.source_rename.form.as_ref().unwrap().preview_offset,
offset