Skip to content

Animation during orientation change is wrong #168118

@dkwingsmt

Description

@dkwingsmt

Expected:

trim.9CAFF5B0-BB87-4FEA-BD8F-104D74C46746.MOV

Actual:

trim.336CE501-AEA4-48AD-AD79-40BBA0C869B0.MOV

Reproduction:

import 'package:flutter/cupertino.dart';

void main() => runApp(const App());

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      home: Center(
        child: Builder(builder: (BuildContext context) {
            return CupertinoButton(
              onPressed: () {
                showCupertinoDialog<void>(
                  context: context,
                  builder: (BuildContext context) => CupertinoAlertDialog(
                    title: const Text('The title'),
                    actions: <Widget>[
                      CupertinoDialogAction(
                        child: const Text('One'),
                        onPressed: () {
                          Navigator.pop(context);
                        },
                      ),
                      CupertinoDialogAction(
                        child: const Text('Two'),
                        onPressed: () {
                          Navigator.pop(context);
                        },
                      ),
                    ],
                  ),
                );
              },
              child: const Text('Flutter'),
            );
          }),
      ),
    );
  }
}

Running e9b4a6a on a iPhone 16 Pro.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: animationAnimation APIsf: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 3.29Found to occur in 3.29found in release: 3.32Found to occur in 3.32frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions