PS1 Posted February 1 Share Posted February 1 Hey, i want to work with unimcalendar on mobile and found that resizing event is badly implemented. To be able to resize event you have to tap and hold for a second to show the ,,=" mark, then you have to drag this mark to resize. And this is kinda ok. But the problem appears when you use eventClick e.g. to change the event. if you tap and hold for a second it fires this event so u cant resize it anymore(new form shows). Is there a solution to e.g. check if the mark ,,=" is visible and add ,,if case" in event method to dont show new form ? i Attachted test case from touch samples CalendarTestCase.zip Link to comment Share on other sites More sharing options...
Sherzod Posted February 1 Share Posted February 1 34 minutes ago, PS1 said: if you tap and hold for a second it fires this event so u cant resize it anymore(new form shows). Hello, I was able to do it, although perhaps a little inconveniently. Link to comment Share on other sites More sharing options...
Sherzod Posted February 1 Share Posted February 1 Try this customCSS, here we double the font size, default 16px: UniServerModule.CustomCSS -> .x-calendar-event .x-calendar-event-resizer:after { font-size: 32px; font-family: monospace; content: "="; } Link to comment Share on other sites More sharing options...
PS1 Posted February 1 Author Share Posted February 1 It, doesn't rly help. I could set width and height to 100% too and new form will show anyway 😕 Link to comment Share on other sites More sharing options...
PS1 Posted February 1 Author Share Posted February 1 Isn't there any place for ajaxrequest to know that ,,=" appeared ? like OnHold or something ? So i could just set variable to know if event is in ,,resize mode". Link to comment Share on other sites More sharing options...
Recommended Posts