Closed aasif1297 closed 3 years ago
Hi @aasif1297 I see there's an open issue addressing the case you described. Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/76097 If you disagree, please write in the comments and I will reopen it. Thank you
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to Reproduce
I am using google map plugin in my app inside single child scrollview along with some lists and other widgets. The problem is when I scroll down or up the google map widget sticks to the top or bottom on iOS and overlaps other widgets as seen below. I tried to go through the existing issues on github and stackoverflow but could not find any solution. If anyone have faced the same problem or have solution to this please help me.
The Issue -> https://gifyu.com/image/YVZx
Here is the code to reproduce the same issue.
static final CameraPosition _kGooglePlex = CameraPosition( target: LatLng(37.42796133580664, -122.085749655962), zoom: 14.4746, );
Scaffold( appBar: AppBar( title: Text('iOS Map'), ), body: SingleChildScrollView( child: Column( children: [ ListView.builder( itemCount: 20, shrinkWrap: true, physics: NeverScrollableScrollPhysics(), itemBuilder: (ctx, index) { return Padding( padding: const EdgeInsets.all(8.0), child: Card( child: Text('Test item $index'), ), ); }), SizedBox( height: 250, child: GoogleMap( mapType: MapType.hybrid, initialCameraPosition: _kGooglePlex, onMapCreated: (GoogleMapController controller) { _controller.complete(controller); }, ), ), ListView.builder( itemCount: 50, shrinkWrap: true, physics: NeverScrollableScrollPhysics(), itemBuilder: (ctx, index) { return Padding( padding: const EdgeInsets.all(8.0), child: Card( child: Text('Test item $index'), ), ); }), ], ), ), );
flutter create bug
.Expected results: Map should scroll properly without sticking to top or bottom of screen.
Actual results: https://gifyu.com/image/YVZx
Logs [bug.zip](https://github.com/flutter/flutter/files/6267024/bug.zip)
``` Frameworks/libswiftFoundation.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreMedia.dylib is unchanged; keeping original /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftUIKit.dylib Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreAudio.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftUIKit.dylib Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreAudio.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreGraphics.dylib is unchanged; keeping original Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftDispatch.dylib is unchanged; keeping original Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftMetal.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftMetal.dylib Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib Codesigning /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib /usr/bin/codesign --force --sign - --verbose /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftUIKit.dylib Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreAudio.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftUIKit.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreAudio.dylib Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftMetal.dylib Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftMetal.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftUIKit.dylib is unchanged; keeping original Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreAudio.dylib is unchanged; keeping original Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCoreFoundation.dylib is unchanged; keeping original Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftMetal.dylib is unchanged; keeping original Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftFoundation.dylib is unchanged; keeping original Probing signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib /usr/bin/codesign -r- --display /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib Code signature of /Users/iosdeveloperadmin/Desktop/ios map issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app/ Frameworks/libswiftCore.dylib is unchanged; keeping original CodeSign /Users/iosdeveloperadmin/Desktop/ios\ map\ issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner.app (in target 'Runner' from project 'Runner') cd /Users/iosdeveloperadmin/Desktop/ios\ map\ issue/ios_map_issue/ios export CODESIGN_ALLOCATE\=/Applications/Xcode.app/Contents/Develop er/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_all ocate Signing Identity: "-" /usr/bin/codesign --force --sign - --entitlements /Users/iosdeveloperadmin/Library/Developer/Xcode/DerivedDat a/Runner-dzpstyssadyuxbbqtgzrezbxnqig/Build/Intermediates.n oindex/Runner.build/Debug-iphonesimulator/Runner.build/Runn er.app.xcent --timestamp\=none /Users/iosdeveloperadmin/Desktop/ios\ map\ issue/ios_map_issue/build/ios/Debug-iphonesimulator/Runner. app ** BUILD SUCCEEDED ** 2021-04-07 00:15:31.395 xcodebuild[98289:1592982] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFr ameworks-17705/DTDeviceKitBase/DTDKRemoteDeviceData.m:371 Details: (null) deviceType from d106c86a3f52dbde7ca54452e2267d3290c08f8c was NULL when -platform called. Object: