Skip to content

Issue regarding simultaneous bounce effect #3

Open
@yashwant1999

Description

@yashwant1999

i am new to flutter so do not understand much of widget , tree stuff but will try best to explain the issue.

Issue

It is specifilcally regarding touchpad on laptops. Whenever in a widget tree if there two or more than two Bounceable widget with one being child and other being parent then taping on one of the child widget create bouncy effect for both child as well as for the parent Bounceable widgets.

Video

Avoid the black flickering (Screenrecorder issue).

Screencast.from.04-16-2022.01_55_53.AM_compressed.mp4

Code

  Bounceable(
              scaleFactor: 0.5,
              onTap: () {},
              child: Container(
                color: Colors.pink,
                height: 700,
                width: 200,
                child: Bounceable(
                  scaleFactor: 0.5,
                  onTap: () {},
                  child: Center(
                    child: Container(
                      width: 200,
                      color: Colors.green,
                      height: 200,
                      child: Bounceable(
                        scaleFactor: 0.2,
                        onTap: () {},
                        child: const Center(
                          child: Icon(
                            Icons.settings,
                            size: 50,
                          ),
                        ),
                      ),
                    ),
                  ),
                ),
              ),
            ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions