We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Zoomfactor Auto Focus problem.

Thread ID:

Created:

Updated:

Platform:

Replies:

149644 Dec 4,2019 10:51 AM UTC Dec 6,2019 03:56 PM UTC ASP.NET MVC - EJ 2 3
loading
Tags: DocumentEditor
Mustafa Kaya
Asked On December 4, 2019 10:51 AM UTC

Hello. 

I have a problem on mobile browser. When i swipe to scroll or pinch to zoom in/out , editor is focusing to cursor. I cant move around document. 

I found a solution. I added a button to view. Read Mode/ Edit Mode. 

When i click to Read Mode it is adding a new div to front of page. I'm blocking all page events. After, i wrote my events. I'm detecting pinch or scroll events on Blocker Div.

Its working fine for scroll and zoom. 

But when i set zoomFactor of document editor, its auto focusing to editor. I dont want this. Because user in Read Mode.

Can you help me ? I added an attachment.

Attachment: syncfussion_a03d1cbc.rar

Harini Chellappa [Syncfusion]
Replied On December 5, 2019 02:19 PM UTC

Hi Mustafa,

 

Currently we are validating the reported scenario. We will update more details on this Dec 9, 2019.

 

Regards,

Harini C


Mustafa Kaya
Replied On December 5, 2019 04:58 PM UTC

Hello, 

I found solution after 3 days!...

Container TouchUp event auto focusing to cursor. I removed it but some problems arose. And i found this solution. 

I removed touchup event after i added again 200 ms later. 


        var timer;
        $('#container_editor_viewerContainer').on("touchmove",function () {
            window.clearTimeout(timer);
            $('#container_editor_viewerContainer')[0].removeEventListener("touchend", documenteditor.viewer.onTouchUpInternal);
            timer = window.setTimeout(function () {
                $('#container_editor_viewerContainer')[0].addEventListener("touchend", documenteditor.viewer.onTouchUpInternal);
                window.clearTimeout(timer);
            }, 200);
        });


Harini Chellappa [Syncfusion]
Replied On December 6, 2019 03:56 PM UTC

Hi Mustafa,

 

Thank you for the update.

 

We have logged this as a bug and fix will be included in our upcoming patch release which is tentatively scheduled on Jan 2, 2019.

 

Regards,

Harini C


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon