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

Fix: isOutOfViewport calculation of the block bottom for sticky mode & change calculation "out.all" on Montage page #4149

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

IgorA100
Copy link
Contributor

@IgorA100 IgorA100 commented Sep 23, 2024

  • There may be a situation where the top part of the image extends beyond the top border of the document, and the bottom part of the image extends beyond the bottom border of the document. In this case, the monitor should not stop, because the middle part is displayed on the screen! This requires a separate calculation of the exit beyond the boundaries of the visible area. The image will be considered hidden only if the top and bottom parts of the image are hidden in the same place (either at the top or at the bottom) of the document.

  • When resizing the browser window, execute "isOutOfViewport"

@IgorA100 IgorA100 changed the title Fix: isOutOfViewport calculation of the block bottom for sticky mode on Montage page Fix: isOutOfViewport calculation of the block bottom for sticky mode & change calculation "out.all" on Montage page Sep 23, 2024
@IgorA100 IgorA100 marked this pull request as draft September 23, 2024 10:17
@IgorA100 IgorA100 marked this pull request as ready for review September 23, 2024 10:19
@connortechnology connortechnology merged commit 53df3a6 into ZoneMinder:master Sep 23, 2024
16 of 18 checks passed
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.

2 participants