Be able to scroll and pan media in media modal
- Mar 13, 2022
-
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
The box-shadow causes an image to be very blurry on Webkit browsers (experienced: Konqueror, Safari; heard of: Chrome) when scaled up if the initial size of the image is much smaller than the actual size (e.g. when viewing a very long picture). The shadow is not really obvious anyway.
-
tusooa authored
-
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
The pointerup strategy is unsuccessful, as some other overlays (Firefox's Inspect Element) will pass down pointerup events.
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
Now swiping will correctly change the current media, and with a good preview. Clicking without swiping closes the overlay.
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
-
tusooa authored
Originally the media viewer would think every touch is a swipe (one-finger touch event), so we would encounter the case where a two-finger scale event would incorrectly change the current media. This is now fixed.
-