mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	When a user clicks outside the typeahead menu, inside the typing area, the cursor position potentially changes, so `lookup` is called, which considers the new cursor position and accordingly hides, continues showing, or updates the typeahead menu. This fixes the bug where even after clicking elsewhere, the old typeahead menu continued showing and on making a selection, the text was inserted at the wrong (new) position. Fixes: #21302.