Fix nested scrollbars in location popup - #37
Merged
Conversation
…only Remove max-height and overflow-y:auto from .leaflet-popup-content to eliminate the outer scrollbar. Add max-height and overflow-y:auto to .coloc-popup to preserve co-located popup scroll + sticky header behavior. Fixes #26 Co-authored-by: Jackass4life <94110786+Jackass4life@users.noreply.github.com> Agent-Logs-Url: https://github.com/Jackass4life/Nautobot-maps/sessions/27b334cc-ad36-405d-9d1c-8530169cdf30
Copilot
AI
changed the title
[WIP] Fix scroll issue inside scroll window
Fix nested scrollbars in location popup
Mar 24, 2026
Jackass4life
marked this pull request as ready for review
March 24, 2026 07:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.leaflet-popup-contentand.device-list-scrollboth hadoverflow-y: autowithmax-height, producing two simultaneous scrollbars in the popup.max-heightandoverflow-y: autofrom.leaflet-popup-contentso it no longer creates an outer scrollbar.coloc-popup { max-height: min(500px, 70vh); overflow-y: auto }to retain scroll + sticky tab headers for co-located site popups.device-list-scrollremains the sole scroll container for device lists in regular popupsOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.