webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

Resize map to fit viewport on enter/exit of fullscreen

Open ddrury opened this issue 1 year ago • 1 comments

On fullscreen transition reset the map to initial conditions.

Note: I would like to carry forward any open popup on fullscreen transition but leaflet triggers the popupclose function at strange times, which currently I can't figure out

NOTE2: The changes to the map & tab phtml view files are hangovers from when the resize code was added to each view file rather than putting it into webtrees.js

ddrury avatar Apr 24 '23 16:04 ddrury

Codecov Report

Merging #4814 (6f737c7) into main (f02df12) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #4814   +/-   ##
=========================================
  Coverage     30.95%   30.95%           
  Complexity    11372    11372           
=========================================
  Files          1167     1167           
  Lines         47861    47861           
=========================================
  Hits          14813    14813           
  Misses        33048    33048           

codecov[bot] avatar Apr 24 '23 16:04 codecov[bot]