Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docs/POPUP_SCROLLING_QA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Popup scrolling regression check

Version: 0.1.5

The popup uses a bounded main scroll region. Its scrollbar remains visible and
draggable in WebKit/Chromium, including macOS configurations that hide overlay
scrollbars. The main region is keyboard focusable and has a visible focus outline.
There are no custom wheel handlers or changes to article-page reference navigation.

## Manual check

1. Load the built Safari extension and visit an article with a long reference list.
2. Open the popup. Check that the track and thumb appear along its right edge.
3. Scroll through the list with the trackpad/wheel, then drag the scrollbar thumb.
Check that the popup moves and the article behind it stays in position.
4. Use Tab to focus the main area; check keyboard scrolling and focus visibility.
5. Check settings, filtering and expanded evidence remain reachable.
6. Repeat at narrow mobile widths; controls must stay within the popup.

## Validation recorded 23 October 2026

- Existing extension verification and 151 tests passed; all four targets built.
- Chromium interaction/layout checks with 100 references passed at widths 320,
390, 430 and 480 CSS px: bounded 600 px scroll region, keyboard navigation to
the end, no horizontal document overflow, last reference reachable, and no
outer-page scrolling. Desktop wheel scrolling also passed.
- The updated Safari-target build was loaded as a separate temporary extension.
Mario confirmed that scrolling inside its popup works perfectly.
- This change was not tested on a physical iPhone. The mobile checks above are
Chromium layout checks, not a new iOS Safari certification.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "__MSG_extName__",
"version": "0.1.4",
"version": "0.1.5",
"description": "__MSG_extDesc__",
"default_locale": "en",
"permissions": [
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "notandia-browser-extension",
"version": "0.1.4",
"version": "0.1.5",
"private": true,
"description": "Cross-browser extension for publisher context and explainable research-integrity signals.",
"scripts": {
Expand Down
24 changes: 22 additions & 2 deletions popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,32 @@ body {
margin: 0;
width: 480px;
max-height: 600px;
overflow: auto;
overflow: hidden;
background: #eff4f7;
color: var(--ink);
font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.container { padding: 16px; }
/* Use a bounded, keyboard-focusable scroll area inside the Safari popover
instead of relying on document/body overflow. */
.container {
padding: 16px;
max-height: 600px;
overflow-y: scroll;
overflow-x: hidden;
overscroll-behavior-y: contain;
scrollbar-gutter: stable;
}
.container:focus-visible { outline: 2px solid #2b5c88; outline-offset: -2px; }
/* An explicit width keeps the draggable track visible on macOS even when
the system normally hides overlay scrollbars. */
.container::-webkit-scrollbar { width: 14px; }
.container::-webkit-scrollbar-track { background: #e6edf3; }
.container::-webkit-scrollbar-thumb {
background: #71879b;
border: 3px solid #e6edf3;
border-radius: 8px;
}
.container::-webkit-scrollbar-thumb:hover { background: #526b82; }

.popup-header {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="popup.css">
</head>
<body>
<main class="container">
<main class="container" tabindex="0">
<header class="popup-header">
<div class="brand-block">
<img src="icons/icon-48.png" alt="" class="brand-icon">
Expand Down
Loading