2bf28679_t_library_for_interactive_maps__Description
[Option] keepInView [Type] Boolean [Default] false [Description] 
Set it to true if you want to prevent users from panning the popup off of the screen while it is open.
Documentation - Leaflet - a JavaScript library for interactive maps
Description