Repository navigation
fix(Lightbox): a mouse click beside the shown photo closes the viewer #11354
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
Merged
cixzhang
merged 85 commits into
meta:main
from
vjeux:fix/lightbox-click-beside-scaled-photo
Nov 13, 2026
Merged
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
d2e76e4
fix(Lightbox): a single photo's caption sits on the caption's backing
vjeux d398515
fix(Lightbox): a single photo's caption shows as a gallery's
vjeux b64c3d4
feat(Lightbox): a gallery's caption sits in a two-line band
vjeux 50875b6
docs(Lightbox): caption notes and records cover a single photo
vjeux 232f499
test(Layer): the one-gutter check lists Lightbox's full-screen viewer
vjeux b565bdc
docs(Lightbox): FR1b covers a single captioned video too
vjeux 18d4bb5
Merge main into the caption band
vjeux 9a9b0f7
Merge the caption band's main merge
vjeux 801fa11
docs(Lightbox): FR1b quotes only the owner's exact words
vjeux f2fdc74
Merge main into the caption band
vjeux 785873b
Merge the caption band's second main merge
vjeux 5877a0e
Merge main's drag to close into the caption band
vjeux cd2e283
fix(Lightbox): a drag to close fades a gallery's caption band
vjeux 5c56c40
feat(Lightbox): a caption's "more" and "less" are an inline link
vjeux c6efc6e
Merge the caption band's main merge and inline link
vjeux 926524a
fix(Lightbox): the caption's toggle takes its touch target from Core
vjeux d6950dc
Merge the caption band's touch target fix
vjeux d038a4b
Merge main's tempo for the drag to close into the caption band
vjeux 2b0b009
Merge the caption band's main merge for the drag to close's tempo
vjeux 29779c1
Merge main's first truncation measurement into the caption band
vjeux cff0218
Merge the caption band's merge of main's truncation measurement
vjeux 74a1798
Merge main's nearest-item index into the caption band
vjeux f4874b7
Merge the caption band's merge of main's nearest-item index
vjeux ef505e3
Merge main's busy proof test fixes into the caption band
vjeux f782a98
Merge the caption band's merge of main's busy proof test fixes
vjeux f53cbe5
fix(Lightbox): "more" and "less" take the caption's colour
vjeux 79b5a27
Merge the caption band's toggle colour fix
vjeux 36836d2
Merge main's Lightbox screen reader and zoom reset changes
vjeux 24cb6d1
Merge the caption band's merge of main
vjeux 48232ac
fix(Lightbox): the caption measures through one shared observer path
vjeux 1c6211d
Merge the caption band's shared observer path
vjeux c450f37
Merge main
vjeux 7de97bf
Merge the caption band's merge of main
vjeux 0412ac8
fix(Lightbox): the caption's toggle sits on a whole line box
vjeux 84aeecf
Merge the caption band's whole line box for the toggle
vjeux f27d557
fix(Lightbox): the toggle's place is as tall as the caption's lines
vjeux 12f50c4
Merge the caption toggle place made of line boxes
vjeux 558fa34
fix(Lightbox): an open caption's toggle place shrinks when it widens
vjeux cd23648
Merge the open caption toggle place that shrinks when it widens
vjeux 547f67e
fix(Lightbox): an opened caption counts its lines without the toggle
vjeux fceae0c
Merge the opened caption that counts its lines without the toggle
vjeux 59a4256
Merge main
vjeux 2d69149
Merge main
vjeux 2a2aa33
fix(Lightbox): keep internal markers off public data attributes
vjeux e7e9aef
fix(Lightbox): new text in an open caption counts its lines again
vjeux 766883d
docs(Lightbox): name where focus goes after paging from the toggle
vjeux 5eddce8
Merge the caption band's attribute and recount fixes
vjeux 8e8db8e
fix(Lightbox): a click on the caption band leaves the viewer open
vjeux 36ec042
Merge the caption band's click rule
vjeux 5b1475c
docs(Lightbox): a double-click on a caption zooms the photo
vjeux b482541
docs(Lightbox): state the desktop click rule in the present
vjeux d12f0d5
test(Lightbox): a gallery's caption keeps 4.5:1 in light mode
vjeux 61845c0
Merge main
vjeux a1763d2
Merge the caption band's present-tense click rule and main
vjeux 381fc24
docs(Lightbox): state the caption double-click rule in the present
vjeux 4ecd6d4
test(Lightbox): time the tap after a drag to close as a browser does
vjeux 2ab9123
test(Lightbox): a single photo's caption keeps 4.5:1 in every theme
vjeux f111a96
docs(Lightbox): FR19's verification row names the black photo again
vjeux 23b396f
test(Lightbox): a single captioned video takes a gallery page's band
vjeux d30de85
Merge main
vjeux 1e1a1ea
Merge the caption band's merge of main
vjeux 520db91
Merge main
vjeux 34f0792
Merge the caption band's merge of main
vjeux e0b9691
Merge main
vjeux 5058dc3
Merge the caption band's merge of main
vjeux 230cff7
Merge main
vjeux 07d4ce9
Merge the caption band's merge of main
vjeux 591999d
fix(Lightbox): a new caption is measured as it renders
vjeux a9c43b7
test(Text): useTruncation keeps its answer while text is expanded
vjeux d99c0ce
feat(Text): useTruncation takes isExpanded, and Lightbox uses it
vjeux edea6cf
Merge main
vjeux 5e008ff
Merge main
vjeux 1990c0c
docs(architecture): name observeResizeAfterLayout under INV18
vjeux b7d1fd4
Merge the caption band's merge of main
vjeux cdb270a
Merge main
vjeux c987368
Merge the caption band's merge of main
vjeux 0d55126
Merge main
vjeux 648c343
Merge the caption band's merge of main
vjeux 7480d1d
fix(Lightbox): a gallery's photo box keeps the stage's cursor
vjeux 84d4ec2
Merge the caption band's photo cursor fix
vjeux e4b4eaf
docs(Lightbox): name the natural-width click gap in the record
vjeux 7282678
Merge the caption band's record of the click gap
vjeux 421eec3
test(Lightbox): a click beside the shown photo closes the viewer
vjeux 3616651
fix(Lightbox): a mouse click beside the shown photo closes the viewer
vjeux b0cc21e
Merge main
vjeux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| '@astryxdesign/core': patch | ||
| --- | ||
|
|
||
| [fix] A mouse click on the dark space beside a Lightbox photo now closes the viewer. Before, the viewer stayed open after a click there within the photo's natural width, or within a wider caption's width. | ||
|
|
||
| @vjeux |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.