- Home
- Forum
- Angular - EJ 2
- Click calendar Date on Mobil dont open the modal
Click calendar Date on Mobil dont open the modal
My shceduler is behaving different on mobil than on Desktop
When i click a empty date on the calendar my popup shows as my code implies on Desktop, but when i do the same on mobil a little purple rectangle appears saying 'Add New Event' and no popup ever displays
Mobil Functionality o click on Date
Scheduler:
AND TS:
Hi Arturo,
When using Syncfusion's Scheduler on mobile mode, the
following user interactions are enabled by default for creating, editing, and
deleting events:
1. Create Event:
On tapping an empty cell, the Scheduler displays a Quick Info popup that offers
options like "Add Event" or "New Event."
The user can then tap "Add Event," which opens a
detailed event editor form where they can fill in the event details such as
title, start time, end time, and description.
2. Edit Event:
When the user taps an existing event on the Scheduler, a
Quick Info popup appears, showing the event title and basic details.
The popup provides options like Edit or Delete.
Tapping Edit opens the detailed event editor form, where
users can update the event details.
2. Delete Event:
On mobile devices, a long press on an event may trigger the
Quick Info popup, where the user can select Delete to remove the event.
Alternatively, the user can tap the event and choose the
Delete option from the popup menu.
Furthermore, you can explore the Syncfusion documentation for detailed guidance
on mobile mode gestures.
UG link: https://ej2.syncfusion.com/angular/documentation/schedule/scheduler-interactions
Don't hesitate to get in touch if you require further help or more information.
Regards,
Vijay
how can i change this mobile mode? i ant the scheduler to behave the same on the mobile as on desktop, or at least the new avent on tapping on a day to behave the same
Hi Arturo,
we have logged your requirement as a feature request
, and it will be
considered for inclusion in one of our upcoming releases. You can track the
progress of this request using the feedback link below:
We prioritize feature implementations based on factors such
as customer demand, feature ranking, and our roadmap. Please feel free to vote
for this feature using the link above to help us gauge interest.
In the meantime, you can display a small quick popup in the mobile view similar to the desktop view by utilizing the actionBegin event and disabling the isAdaptive property. Here is an example of how you can achieve this:
[app.component.html]
|
<ejs-schedule #scheduleObj (actionBegin)="onActionBegin($event)"> </ejs-schedule> |
[app.component.ts]
|
public onActionBegin(args: ActionEventArgs): void { if (args.requestType === 'toolbarItemRendering') { this.scheduleObj.element.classList.remove('e-device'); this.scheduleObj.isAdaptive = false; } |
Sample link: 3fx6tv
(forked) - StackBlitz
Don't hesitate to get in touch if you require further help or more information.
Regards,
Vijay
i dont understand, so on mobile when creating a new event via the calendar i wont be able to access the
this cant be triggered on mobile?
Because now on my mobile scheduler the little purple box with the add event appears but it dont do anything i cant add a event,
i have a large logic for opening a new event window when clicking on any day on the scheduler and want to do the amendment but in the mobile version
if i cant make it behave like the desktop, how can i disable the add event function click function on. the calendar when on mobile view?
Hi Arturo,
We have reviewed and validated your popupOpen code logic, and it works as expected in the sample we shared. The popupOpen event is triggered correctly while creating an event in mobile mode. We were unable to replicate the mentioned issue on our end. We suspect that the issue may be specific to your application. To assist us in understanding and addressing the issue more effectively, could you kindly provide the following details? This information will help us provide more thorough support in resolving the problem.
- Could you share the issue replicate sample.
- Could you share your sample staging link.
- Could you replicate the issue in our shared sample
Sample link: https://stackblitz.com/edit/angular-ry2v9k-8senk4?file=src%2Fapp.component.html,src%2Fapp.component.ts
Regards,
Vijay
- 5 Replies
- 2 Participants
-
AM Arturo Martinez
- Nov 13, 2024 06:06 PM UTC
- Nov 26, 2024 02:20 PM UTC