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

ContextMenu in Scheduler does not open under Safari in Desktop of Ipad 13.3 #5552

Closed
nenchef opened this issue Jan 24, 2020 · 6 comments
Closed
Assignees
Milestone

Comments

@nenchef
Copy link
Contributor

nenchef commented Jan 24, 2020

Bug report

ContextMenu in Scheduler does not open under Safari in Desktop of Ipad 13.3

Reproduction of the problem

Open the following dojo with Ipad under Safari in Desktop mode: https://dojo.telerik.com/@nenchef/uVatuzaf/5

  1. Try open the ContextMenu on a certain slot.

Current behavior

The Context Menu does not open

Expected/desired behavior

The Context Menu should get opened.

Environment

  • Kendo UI version: 2019.3.1023
  • Browser: [Safari]
@martintabakov
Copy link
Contributor

Also reported in ticket #1512508.

@yawaweb
Copy link

yawaweb commented Apr 21, 2021

I had the same problem with contextMenu on iOS

@kendo-bot kendo-bot added FP: Planned Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Apr 22, 2021
@kendo-bot kendo-bot removed the FP: Planned Sync status with associated Feedback Item label Dec 6, 2021
@veselints veselints self-assigned this Jan 25, 2022
@kendo-bot kendo-bot added the FP: In Development Sync status with associated Feedback Item label Jan 27, 2022
@veselints
Copy link
Contributor

While testing this, could you also test the following scenario:
#5300

I believe the fix would provide a global solution for iPad 13+ problems.

@Dimitar-Goshev
Copy link
Contributor

The Spreadsheet issue is not fixed with this fix.
The Context menu issue is fixed. A small change in the snippet from the demo is required to properly identify the target and display "Copy" menu item on a Scheduler event - e.event.target should be used - var text = $(e.event.target).hasClass("k-event") ? "Copy" : "Paste";

    $("#contextMenu").kendoContextMenu({
        filter: ".k-event, .k-scheduler-table td",
        target: "#scheduler",
        open: function(e) {
          contextMenuIsOpen = true;
          var menu = e.sender;
          var text = $(e.event.target).hasClass("k-event") ? "Copy" : "Paste";

          menu.remove(".myClass");
          menu.append([{text: text, cssClass: "myClass" }]);
        },
      	close: function(e) {
          contextMenuIsOpen = false;
        }
    });

@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 Feb 3, 2022
@aabhishek1
Copy link

Hi, could anyone tell me what is the code fix for this issue

@Dimitar-Goshev
Copy link
Contributor

@aabhishek1 The fix was adding the following lines to kendo.core.js.

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