Description
Tested using the Navigation and Routing application from the Flutter samples.
https://github.com/flutter/samples/tree/main/navigation_and_routing
I built this application for the web (flutter build web), then ran a local webserver on MacOS in build/web and connected to it with Safari from my iPhone.
When you swipe from outside the left edge of the screen across to the right on a Flutter Web app running in Safari on an iOS device, an 'extra' page is shown in the slide transition animation that shouldn't be there.
The bug only occurs if you begin your swipe from outside the left edge of the display and then swipe across. If you begin from slightly inside the left edge of the screen, only 2 screens are displayed in the transition and it looks correct.
I tested this swiping behaviour in other web pages/apps and it doesn't occur, so it seems to be specific to Flutter.
I also tested in the Chrome browser from my iOS device and the same problem occurs, so it seems the problem is not specific to Safari.
The video shows alternating swipes first from the outside the left edge, then inside.
Activity
danagbemava-nc commentedon Oct 31, 2022
Hi @MarcBritton, kindly reduce the code sample to only the relevant parts required to reproduce the bug. Ideally, it should be a single
main.dart
file.Please also provide the output of
flutter doctor -v
.Thank you
MarcBritton commentedon Nov 1, 2022
flutter doctor -v
output:MarcBritton commentedon Nov 1, 2022
Reproducible with this sample code:
slide.from.outside.screen.extra.page.MP4
slide.from.inside.screen.no.extra.page.MP4
danagbemava-nc commentedon Nov 1, 2022
Issue is reproducible using the code sample provided in #114324 (comment).
recording
RPReplay_Final1667284945.MP4
flutter doctor -v
62 remaining items