woltapp / wolt_modal_sheet

This package provides a responsive modal with multiple pages, motion animation for page transitions, and scrollable content within each page.
MIT License
504 stars 64 forks source link

Playground app glitches when scrolling #200

Open orestesgaolin opened 6 months ago

orestesgaolin commented 6 months ago

Bug report

There are some visual artifacts/glitches in the Playground app when running on iOS. See following video at 0:05.

https://github.com/woltapp/wolt_modal_sheet/assets/16854239/5bbca03f-c435-4c7c-b176-21855537eeb2

Steps to reproduce

Steps to reproduce the behavior:

  1. Run the app on iPhone
  2. Open the demo sheet, scroll to the bottom
  3. Try to extend the scroll even further

Expected behavior

There should not be any glitches ;)


Additional context

Running in debug mode, Impeller enabled

[!] Flutter (Channel stable, 3.19.6, on macOS 13.5.2 22G91 darwin-arm64, locale pl-PL)
    • Flutter version 3.19.6 on channel stable at /Users/dominik/fvm/versions/stable
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.2.0/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/dominik/fvm/versions/stable. Consider adding /Users/dominik/fvm/versions/stable/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (3 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

mukireus commented 3 months ago

Hi! I looked into the issue but couldn't find the glitch. Are you experiencing this on a physical device or an iOS simulator?

Test info

I also tried changing the scroll physics in the code below. https://github.com/woltapp/wolt_modal_sheet/blob/2252ebbdc9a78b108317a365b42342b5eebd85a4/lib/src/content/components/main_content/wolt_modal_sheet_main_content.dart#L53

Without line comment With line comment

Additional context

• Flutter version 3.22.2 on channel stable
• Dart version 3.4.3
• DevTools version 2.34.3