ResponsiveFramework icon indicating copy to clipboard operation
ResponsiveFramework copied to clipboard

DropdownButton is not working

Open pesutsoos opened this issue 4 years ago • 3 comments

If I use ResponsiveWrapper.builder it brakes my DropdownButton.

``runApp(MaterialApp( debugShowCheckedModeBanner: false, builder: (context, widget) => ResponsiveWrapper.builder(TabsPage(), maxWidth: 1200, minWidth: 450, defaultScale: true, breakpoints: [ ResponsiveBreakpoint(breakpoint: 450, name: MOBILE), ResponsiveBreakpoint( breakpoint: 800, name: TABLET, autoScale: true,), ResponsiveBreakpoint( breakpoint: 1000, name: TABLET, autoScale: true), ResponsiveBreakpoint(breakpoint: 1200, name: DESKTOP), ResponsiveBreakpoint( breakpoint: 2460, name: "4K", autoScale: true), ], background: Container(color: Color(0xFFF5F5F5))),

pesutsoos avatar Mar 30 '20 19:03 pesutsoos

Thanks for reporting this issue. Can you provide a sample code of your dropdown button? There are a few known issues with modals and routes that are on the roadmap to fix. Going to add dropdowns to the list too.

rayliverified avatar Mar 30 '20 20:03 rayliverified

Hi @pesutsoos

Maybe it will work with the following code:

``runApp(MaterialApp( debugShowCheckedModeBanner: false, builder: (context, widget) => ResponsiveWrapper.builder( maxWidth: 1200, minWidth: 450, defaultScale: true, breakpoints: [ ResponsiveBreakpoint(breakpoint: 450, name: MOBILE), ResponsiveBreakpoint( breakpoint: 800, name: TABLET, autoScale: true,), ResponsiveBreakpoint( breakpoint: 1000, name: TABLET, autoScale: true), ResponsiveBreakpoint(breakpoint: 1200, name: DESKTOP), ResponsiveBreakpoint( breakpoint: 2460, name: "4K", autoScale: true), ], background: Container(color: Color(0xFFF5F5F5))), home: TabsPage(),

MatthaiosSait avatar Apr 13 '20 12:04 MatthaiosSait

I've done a bit of research into Overlays and there's hope for a good solution.

rayliverified avatar May 25 '20 03:05 rayliverified