syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.95k stars 774 forks source link

SignaturePad : Inside Bottomsheet dialog scrolling issue #651

Closed vishalpatel1327 closed 6 months ago

vishalpatel1327 commented 2 years ago

First of all thanks to creating such a great package.

When I am using the Signature pad in bottom sheet having issue to draw sign. check video

https://user-images.githubusercontent.com/14329287/178502215-6ac7c242-1f94-498d-be10-e08a831190a5.mp4

vishalpatel1327 commented 2 years ago

showModalBottomSheet( shape: const RoundedRectangleBorder( borderRadius: BorderRadius.vertical( top: Radius.circular(20), ), ), context: context, builder: (context) => SignatureDialog()); }

vishalpatel1327 commented 2 years ago

` class SignatureDialog extends StatefulWidget { const SignatureDialog({Key? key}) : super(key: key);

@override State createState() => _SignatureDialogState(); }

class _SignatureDialogState extends State { @override Widget build(BuildContext context) { return Padding( padding: EdgeInsets.all(16), child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ const Text( "Digital Signature", style: TextStyle( fontSize: 16, fontWeight: FontWeight.bold, color: primaryColor), ), const Text( "This signature will be displayed on sales invoices.", style: TextStyle( fontSize: 12, fontWeight: FontWeight.w500, color: Colors.black54), ), const SizedBox( height: 8, ), Container( decoration: BoxDecoration( border: Border.all(color: Colors.black), borderRadius: BorderRadius.all(Radius.circular(4))), width: MediaQuery.of(context).size.width, height: 150, child: const SfSignaturePad( minimumStrokeWidth: 3, maximumStrokeWidth: 6, strokeColor: Colors.black, ), ), Row( children: [ Expanded( child: OutlinedButton.icon( icon: const Icon( Icons.refresh, size: 14, ), onPressed: () { Navigator.of(context).pop(); // Validate returns true if the form is valid, or false otherwise. }, label: const Text("Reset")), ), const SizedBox( width: 16, ), Expanded( child: ElevatedButton.icon( icon: const Icon( Icons.search_rounded, size: 14, ), onPressed: () { Navigator.of(context).pop(); }, label: const Text("Search")), ), ], ) ], ), ); } }`

beamAkshay commented 2 years ago

getting same problem please tell me if you resolved this issue

vishalpatel1327 commented 1 year ago

@davsyncfusion can you guys look into it?

Policy56 commented 1 year ago

I have the same scrolling problem in PageView and ListView ..

LavanyaGowtham2021 commented 7 months ago

We have resolved the issue already, so we kindly request you to upgrade the latest version.

https://pub.dev/packages/syncfusion_flutter_signaturepad/versions/24.2.5

LavanyaGowtham2021 commented 6 months ago

Please reopen this ticket if you need any other assistance on this.