forked from MapComplete/MapComplete
		
	Close popup after splitting; scroll popup into view
This commit is contained in:
		
							parent
							
								
									057c3fde4f
								
							
						
					
					
						commit
						a7da5d65cf
					
				
					 4 changed files with 17 additions and 17 deletions
				
			
		|  | @ -115,6 +115,10 @@ export default class ShowDataLayerImplementation { | |||
|         }) | ||||
| 
 | ||||
|         this._selectedElement?.addCallbackAndRunD((selected) => { | ||||
|             if (selected === undefined) { | ||||
|                 ScrollableFullScreen.collapse() | ||||
|                 return | ||||
|             } | ||||
|             self.openPopupOfSelectedElement(selected) | ||||
|         }) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue