Skip to main content
0 votes
0 answers
44 views

Resize Height IMG on Wheelzoom.js

I'm trying to make a zoomable image on a modal and I'm using wheelzoom.js It's almost perfect, but I need to resize the image Height that is auto, by default, when the orientation of the img is ...
Lucas Caires's user avatar
0 votes
1 answer
25 views

How to disable pinch zoom but allow pan with CSS

I am working on a PWA, in which I want to disable pinch zoom on the whole UI and only allow it on certain elements within the page. Relevant CSS: * { touch-action: pan-y; } Not sure if relevant ...
Nekomajin42's user avatar
0 votes
1 answer
102 views

How to recreate browser zoom in javascript?

Since there seems to be no way to directly set browsers' zoom level via js, I thought to override the browser zoom and code my own. This code works correctly when starting from scale = 1, but I'm ...
S. Elliot Perez's user avatar
0 votes
0 answers
16 views

GPUImageView (FrameLayout) scale with pinch zoom not working

@Override public boolean onTouchEvent(MotionEvent event) { final int X = (int) event.getRawX(); final int Y = (int) event.getRawY(); switch (event.getAction() & ...
Krupali Shingala's user avatar
0 votes
0 answers
72 views

Jetpack Compose Canvas adaptive Pinch to zoom effect problem

I'm trying to add zoom in/out using Pinch effect (code below), however, the problem is the code works almost fine when the pinch center is close to zero (of the canvas), but when it goes far away from ...
Essam Ali's user avatar
0 votes
0 answers
44 views

Pan and zoom help needed

I just started my journey to learn coding and doing it on the iPad with Swift playground. I have an audio waveform to which I apply zoom and pan gestures. I’m having a bit of trouble. When I zoom in ...
PAA KOBINA BARTELS CUDJOE's user avatar
0 votes
2 answers
222 views

How to implement pinch to zoom and camera preview kotlin

I have a camera I'm trying to create in my app that allows users to pinch the preview screen when using the camera. I've been trying to implement pinch to zoom in my camera, but I am having no luck at ...
Khumo Mashapa's user avatar
1 vote
0 answers
157 views

SwiftUI - zIndex change not working for item inside of LazyVStack

I have problem with zIndex in my app with collection of images I've added pinch zoom to the image, but when image is zoomed it does not get on top of other images which are next in the collection. ...
Nazarii Krypiak's user avatar
0 votes
0 answers
11 views

Layout breaks on zoom in with "cmd +" but not with zoom in with mousepad

My simple portfolio site breaks when I zoom in, when I zoom with the mousepad nothing happens, it only breaks when I zoom with "cmd +" Any idea? Here's the repo Whats the technical ...
Ram Fiorentino's user avatar
1 vote
1 answer
426 views

How to zoom and pan image in ScrollView

I'm dealing with zoom&pan topic in my SwiftUI app. I use following View struct to display image struct PictureDetailView: View { @State private var zoom: Double private var image: NSImage private ...
Dawy's user avatar
  • 936
1 vote
1 answer
67 views

UIScrollView automatically scrolls UIImageView to top on pinch-to-zoom

I'm having issues with UIScrollView when doing pinch-to-zoom UIImageView. Implementation is relatively simple which you can find in many places on the Internet. Double tap to zoom in and out works ...
Dmitry Klimkin's user avatar
1 vote
1 answer
190 views

How to tap to zoom an image like in instagram? Kotlin

I am trying to get a similar functionality to Instagram, when you tap or pinch on an image, and now the image covers the screen above all the other views, like this I have a Fragment with 3 images ...
Jesús Santoyo's user avatar
0 votes
0 answers
43 views

Set minimal scale and rectangle as bounds for Matrix in Android

I'm trying to write pinch-to-zoom for a custom view. I have trouble to set outer bounds and minimal scale factor for a matrix. What I currently have in my gesture detector: override fun onScale(...
Desida's user avatar
  • 1
0 votes
0 answers
34 views

How to zoom-in on a particular latitude and longitude. Whenever we pinch zoom in-out then pin is dislocated slightly

Whenever we try to zoom-in or zoom-out on a particular location (lat,long) then it never sticks to that location and shifts slightly here and there. We want to achieve similar functionality that ...
Manish Sharma's user avatar
0 votes
0 answers
28 views

SwiftUI scrolling is restricted to certain part

I want to zoom a video and also scroll after zooming in. But once I zoom in it only allows me to zoom according to the scale of my pinch gesture @objc private func pinch(gesture: ...
Sudeep More's user avatar

15 30 50 per page
1
2 3 4 5
49