ice Posted October 7, 2020 Share Posted October 7, 2020 Hi, is it possible to tap day on a mobile device and an event will be fired. On Desktop does work - on mobile device does not work ? Link to comment Share on other sites More sharing options...
Sherzod Posted October 7, 2020 Share Posted October 7, 2020 8 hours ago, ice said: is it possible to tap day on a mobile device and an event will be fired. On Desktop does work - on mobile device does not work ? Hi, Sorry for the late reply... I will try to check it again. Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 ? Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 2 hours ago, ice said: ? Hello, It seems by design: https://examples.sencha.com/extjs/7.0.0/examples/kitchensink/?modern#calendar-panel Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 Thanks Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 On 10/7/2020 at 11:36 AM, ice said: is it possible to tap day on a mobile device and an event will be fired. But you can try to do this using additional code, first of all for the month view I think. Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 The problem is, with mobile devices does not work, with desktop work's. How can try this using in additional code ? Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 8 minutes ago, ice said: How can try this using in additional code ? Try this code, for month view: function afterCreate(sender) { var calendar = sender; calendar.element.on('tap', function(e, target, options) { var time = new Date(); ajaxRequest(calendar, 'rangeselect', [ 'sd=' + target.getAttribute('data-date').replace(/-/gi, '') + time.getHours() + time.getMinutes() + time.getSeconds(), 'ed=' + target.getAttribute('data-date').replace(/-/gi, '') + time.getHours() + time.getMinutes() + time.getSeconds() ]) }, calendar.element, { delegate: '.x-calendar-weeks-cell' }) } Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 Thanks, not work on a mobile device with Touch simulation (firefox or chrom) and not work on a iPhone. Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 7 minutes ago, ice said: not work on a mobile device Works for me (Android, Chrome) 8 minutes ago, ice said: with Touch simulation What do you mean? Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 with firefox you can simulate mobile devices. there is a button where you can switch the simulation of touches on and off Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 8 minutes ago, ice said: you can simulate mobile devices OK. But have you checked on a mobile device? Android, iPhone? Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 yes on a iPhone - not work Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 4 minutes ago, ice said: yes on a iPhone - not work Sorry, I haven't tested on iPhone. Can you check on Android as well? Link to comment Share on other sites More sharing options...
ice Posted October 12, 2020 Author Share Posted October 12, 2020 Android - not work. Link to comment Share on other sites More sharing options...
Sherzod Posted October 12, 2020 Share Posted October 12, 2020 11 minutes ago, ice said: Android - not work. Strange, works for me. Link to comment Share on other sites More sharing options...
ice Posted October 13, 2020 Author Share Posted October 13, 2020 Hallo Sherzod, this morning i made a new testcase and now it work's ? Thank you and sorry 1 Link to comment Share on other sites More sharing options...
Recommended Posts