Skip to content

[Impeller] CupertinoDatePicker inside CupertinoModalPopup not working #124658

@Brazol

Description

@Brazol

Hey, I couldn't find any related open issue. Here is code snippet. It's working fine with Skia renderer and not at all with Impeller (see videos below).
On Impeller when I tap the button to show popup and then swipe at the area it should show I can feel haptic feedback of DatePicker carousel. So it is there just invisible?

Widget build(BuildContext context) {
    void showDatePicker() {
      showCupertinoModalPopup<void>(
        context: context,
        builder: (_) => Container(
          height: 380,
          color: Theme.of(context).dialogBackgroundColor,
          child: Column(
            children: [
              SizedBox(
                height: 300,
                child: CupertinoDatePicker(
                  initialDateTime: DateTime.now(),
                  onDateTimeChanged: (val) {},
                  mode: CupertinoDatePickerMode.date,
                ),
              ),
              CupertinoButton(
                child: const Text('OK'),
                onPressed: () {
                  Navigator.of(context).pop();
                },
              )
            ],
          ),
        ),
      );
    }

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: TextButton(
          onPressed: showDatePicker,
          child: const Text('CLICK ME'),
        ),
      ),
    );
  }

Skia:

Skia.mov

Impeller:

impeller.mov
Details Flutter doctor output:

[✓] Flutter (Channel stable, 3.7.10, on macOS 13.3.1 22E261 darwin-x64, locale en-PL)
• Flutter version 3.7.10 on channel stable at /Users/appify/SDKs/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 4b12645 (8 days ago), 2023-04-03 17:46:48 -0700
• Engine revision ec975089ac
• Dart version 2.19.6
• DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
• Android SDK at /Users/appify/Library/Android/sdk
• Platform android-31, build-tools 33.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.77.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.15.0

[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-x64 • macOS 13.3.1 22E261 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 112.0.5615.49

[✓] HTTP Host Availability
• All required HTTP hosts are available

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: renderingUI glitches reported at the engine/skia or impeller rendering levele: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.found in release: 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions