Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize map to fit viewport on enter/exit of fullscreen #4814

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ddrury
Copy link
Contributor

@ddrury ddrury commented Apr 24, 2023

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

@codecov
Copy link

codecov bot commented Apr 24, 2023

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           

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant