responsively-app icon indicating copy to clipboard operation
responsively-app copied to clipboard

Zoom in/out of devices on trackpad pinch gesture in the preview area

Open manojVivek opened this issue 1 year ago • 23 comments

manojVivek avatar Aug 16 '23 08:08 manojVivek

Hi @manojVivek, I would like to work on this issue. Please assign it to me.

prabhjotlamba1655 avatar Aug 17 '23 19:08 prabhjotlamba1655

@prabhjotlamba1655 Please go ahead!

manojVivek avatar Aug 18 '23 12:08 manojVivek

HI @manojVivek i would like to take up this issue if possible. Assign it to me.

dgbkn avatar Sep 14 '23 07:09 dgbkn

@dgbkn Please go for it! We stopped doing user assignments for the issues.

manojVivek avatar Sep 14 '23 07:09 manojVivek

can you please elaborate this issue

Priyanshu72 avatar Sep 18 '23 03:09 Priyanshu72

@manojVivek Could you please elaborate the issue? It will be very beneficial while resolving the issue.

MarCUS103 avatar Sep 27 '23 08:09 MarCUS103

I am start working on this issue.

mukulpythondev avatar Sep 30 '23 11:09 mukulpythondev

Hi @manojVivek, I would like to work on this issue. Please assign it to me.

sameerbiradar2001 avatar Oct 02 '23 15:10 sameerbiradar2001

@manojVivek we can not directly use zoom pan pinch lib here due to the fact that lib does not support webview tag. We need to write its logic manually.

Alok-Singh-ops avatar Oct 05 '23 08:10 Alok-Singh-ops

@Alok-Singh-ops Thanks for exploring that.

But we don't actually need that event handler on the webview, we just have to add it to the preview area enclosing the webview.

manojVivek avatar Oct 06 '23 04:10 manojVivek

@manojVivek yes i get it. i Even tried to do using lib such as zoom pan but I guess the library just does not support webview

Alok-Singh-ops avatar Oct 06 '23 05:10 Alok-Singh-ops

Hm, I'm not certain why webview would affect anything here.

As we don't need to interact with the webview at all in this, we just have to watch for the events on the preview container and update the zoom level in the redux state.

manojVivek avatar Oct 06 '23 05:10 manojVivek

@manojVivek Gotcha. By this entire preview section will be zoomed in/zoomed out

Alok-Singh-ops avatar Oct 06 '23 07:10 Alok-Singh-ops

@manojVivek Also, I have raised by PR kindly look into it

Alok-Singh-ops avatar Oct 06 '23 07:10 Alok-Singh-ops

By this entire preview section will be zoomed in/zoomed out

Just clarifying, not the entire section, just the devices will be zoomed by the zoomFactor state value.

manojVivek avatar Oct 06 '23 08:10 manojVivek

From what I can tell there needs to be some sort of onWheel or onScroll event to trigger the zoomFactor update but it doesnt seem to respond to any of those events (also doesn't respond to onClick) I think something about the webview is preventing the div from detecting events Edit: When I expand the div to be larger than the webview actions outside of the webview are detected so it is something about the webview not being able to detect the pinch to zoom Screenshot 2023-12-04 at 2 59 37 PM

dompolochak avatar Dec 04 '23 21:12 dompolochak

Hi @manojVivek, I would like to work on this issue. Please assign it to me.

123upasana avatar Jan 20 '24 09:01 123upasana

Hey @manojVivek, I went ahead and created a PR for this (#1196) since it looks like it hasn't been addressed yet!

lyncasterc avatar Feb 01 '24 06:02 lyncasterc

@manojVivek explain me the functionality you are working on ?? which issue is this assign it to me

samr874 avatar Mar 09 '24 13:03 samr874

Hello everyone, do we have any updates regarding this issue? If not, I'm more than willing to lend a hand and contribute. Thanks!

brkuhgk avatar Mar 22 '24 18:03 brkuhgk

No description provided.

can you please provide a description

LungsomLamnio avatar Aug 09 '24 17:08 LungsomLamnio