xd-to-flutter-plugin icon indicating copy to clipboard operation
xd-to-flutter-plugin copied to clipboard

Interactions (text scroll, prototype links) aren't reliable

Open gskinner opened this issue 5 years ago • 2 comments
trafficstars

Flutter has a number of issues with touch/mouse interactions on widgets that have been positioned with Transform. These issues are detailed here: https://github.com/flutter/flutter/issues/27587

The primary issue is that clicks that fall on the target, but outside the parent's bounds (which only include untransformed child bounds) are not registered by Flutter.

We will continue to look into solutions for this, but as the plugin must support arbitrary transformations, this is a tough issue to solve without it working as expected in Flutter.

gskinner avatar May 12 '20 20:05 gskinner

Responsive layout (in the upcoming v0.2.0 build) largely fixes this issue, since it does away with completely arbitrary transforms. Static layouts are still affected though.

gskinner avatar Jun 21 '20 23:06 gskinner

SO how do I solve this cos when I export from XD to Flutter, that's what is there. Even tried using InkWell() but it didn't work

connelevalsam avatar Feb 15 '21 19:02 connelevalsam