Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ResponsivePanel closes immediately on mobile devices after it is opened in Chrome due to passive event listener #3556

Closed
simonssspirit opened this issue Sep 5, 2017 · 6 comments

Comments

@simonssspirit
Copy link
Contributor

simonssspirit commented Sep 5, 2017

Bug report

The ResponsivePanel closes immediately after it is opened in Chrome due to a passive event listener.

"[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive"
https://www.chromestatus.com/features/5093566007214080

Reproduction of the problem

The issue can be reproduced from our examples when tested in Chrome mobile mode:
http://docs.telerik.com/kendo-ui/api/javascript/ui/responsivepanel#configuration-breakpoint

  1. Here is the respective sample in a Dojo
  2. Use a an Android mobile device or emulate it in Chrome.
  3. Tap on the toggle button

Current behavior

Responsive panel opens and closes immediately

Expected behavior

Responsive panel opens and remains open

Environment

  • Kendo UI version: 2018.3.1017
  • Browser: [Chrome 70+]

Note:
Duplicate of the following Kendo private issue
Duplicate of the following Core issue: #3634

@ghost
Copy link

ghost commented Nov 29, 2017

For us this is very important. When will it be fixed? Thanks a lot. Marc Huber

@veselints
Copy link
Contributor

Raised priority as reported in Ticket ID: 1017840

@veselints
Copy link
Contributor

The following issue represents a discussion on the topic - how jQuery should handle passive events: jquery/jquery#2871.

@Ecarbone70
Copy link

I opened a ticket for this issue about 2 years ago and I received a workaround fas,t nothing to say. Now that I'm in the middle of a restyling of the web application and I upgrade to the last version i found that this issue is still there and so I have to apply the fix in every page. We use responsive panel for the global menu and to show particular filters for each page.

@ncovercash
Copy link

@Ecarbone70 what was the workaround?

@Dimitar-Goshev
Copy link
Contributor

@smileytechguy
Excuse me for the late reply. The workaround is visible in the duplicated issues - Workaround Dojo. The issue could be avoided by applying the following handler:

$(".k-rpanel-toggle").on("touchend", function(e) { 
  e.preventDefault();
});

@Dimitar-Goshev Dimitar-Goshev changed the title The ResponsivePanel closes immediately after it is opened in Chrome due to passive event listener. The ResponsivePanel closes immediately on mobile devices after it is opened in Chrome due to passive event listener Nov 6, 2018
@Juveniel Juveniel self-assigned this Apr 29, 2019
@kendo-bot kendo-bot added the FP: In Development Sync status with associated Feedback Item label Jun 10, 2019
@Dimitar-Goshev Dimitar-Goshev added this to the 2019.R2.SP.Next milestone Jun 11, 2019
@kendo-bot kendo-bot added FP: Completed Sync status with associated Feedback Item and removed FP: In Development Sync status with associated Feedback Item labels Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants