forked from mirrors/gecko-dev
		
	Bug 1907820 - Fix dragging sheet behaviour for all elements in the microsurvey r=android-reviewers,twhite
Differential Revision: https://phabricator.services.mozilla.com/D216674
This commit is contained in:
		
							parent
							
								
									ed0853de48
								
							
						
					
					
						commit
						1736937b20
					
				
					 1 changed files with 27 additions and 30 deletions
				
			
		|  | @ -66,7 +66,10 @@ fun MicrosurveyBottomSheet( | ||||||
|         shape = bottomSheetShape, |         shape = bottomSheetShape, | ||||||
|     ) { |     ) { | ||||||
|         Column( |         Column( | ||||||
|             modifier = Modifier.padding(vertical = 8.dp), |             modifier = Modifier | ||||||
|  |                 .padding(vertical = 8.dp) | ||||||
|  |                 .nestedScroll(rememberNestedScrollInteropConnection()) | ||||||
|  |                 .verticalScroll(rememberScrollState()), | ||||||
|         ) { |         ) { | ||||||
|             BottomSheetHandle( |             BottomSheetHandle( | ||||||
|                 onRequestDismiss = {}, |                 onRequestDismiss = {}, | ||||||
|  | @ -81,11 +84,6 @@ fun MicrosurveyBottomSheet( | ||||||
|                 onCloseButtonClicked() |                 onCloseButtonClicked() | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             Column( |  | ||||||
|                 modifier = Modifier |  | ||||||
|                     .nestedScroll(rememberNestedScrollInteropConnection()) |  | ||||||
|                     .verticalScroll(rememberScrollState()), |  | ||||||
|             ) { |  | ||||||
|             if (isSubmitted) { |             if (isSubmitted) { | ||||||
|                 MicrosurveyCompleted() |                 MicrosurveyCompleted() | ||||||
|             } else { |             } else { | ||||||
|  | @ -113,7 +111,6 @@ fun MicrosurveyBottomSheet( | ||||||
|             ) |             ) | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|     } |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @PreviewScreenSizes | @PreviewScreenSizes | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Vlad Dreghici
						Vlad Dreghici