mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Workaround for an aria issue...
...somewhere (In something we're doing? In PS? In Chrome? In ARIA?)
This commit is contained in:
parent
f6d949db38
commit
bb2bbb5655
@ -195,6 +195,10 @@ export class FileViewerPhotoSwipe {
|
||||
// Taking a step back though, the PhotoSwipe viewport is fixed, so
|
||||
// we can just directly map wheel / trackpad scrolls to zooming.
|
||||
wheelToZoom: true,
|
||||
// Chrome yells about incorrectly mixing focus and aria-hidden if we
|
||||
// leave this at the default (true) and then swipe between slides
|
||||
// fast, or show MUI drawers etc.
|
||||
trapFocus: false,
|
||||
// Set the index within files that we should open to. Subsequent
|
||||
// updates to the index will be tracked by PhotoSwipe internally.
|
||||
index: initialIndex,
|
||||
|
Loading…
x
Reference in New Issue
Block a user