This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115
stars
21
forks
source link
RadCalendar - IOS : dateSelectedEvent called endlessly #1445
Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.
Please, provide the details below:
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Hi. The problem i have is occuring on IOS only. With RadCalendar on day viewMode, i have the dateSelectedEvent to know when the user change the date and to go ask the API the event of that day. Then, when i have a response, i change my variable of eventSource to the new event, but this is causing to call the dateSelectedEvent another time, and then another time ...only when the observable from the API is returning events
Which platform(s) does your issue occur on?
Nativescript Angular !
iOS/Android/Both (if applicable tell us the specific version of the platform)
IOS only , i'm on tns-ios 6.2.0
Please provide the following version numbers that your issue occurs with:
Progress NativeScript UI plugin version: (the version of nativescript-ui-* in the package.json) nativescript-ui-calendar ^6.1.0
CLI: (run tns --version to fetch it) 6.2.0
Cross-platform modules: (the version of tns-core-modules in the package.json) ^6.5.2
Runtime(s): (the "tns-android" and "tns-ios" properties in the package.json) android 6.5.3 ios 6.2.0
Please tell us how to recreate the issue in as much detail as possible.
Start the application
Get events from the API
See the console logs ("on date selected" and "on get events observable") write without ending when the observable is returning events
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
(You can paste entire code snippets, link to playground demo or attach a runnable project)
Please, provide the details below:
Tell us about the problem
Please, ensure your title is less than 63 characters long and starts with a capital letter.
Hi. The problem i have is occuring on IOS only. With RadCalendar on day viewMode, i have the dateSelectedEvent to know when the user change the date and to go ask the API the event of that day. Then, when i have a response, i change my variable of eventSource to the new event, but this is causing to call the dateSelectedEvent another time, and then another time ...only when the observable from the API is returning events
Which platform(s) does your issue occur on?
Nativescript Angular !
iOS/Android/Both (if applicable tell us the specific version of the platform)
IOS only , i'm on tns-ios 6.2.0
Please provide the following version numbers that your issue occurs with:
package.json
) nativescript-ui-calendar ^6.1.0tns --version
to fetch it) 6.2.0package.json
) ^6.5.2"tns-android"
and"tns-ios"
properties in thepackage.json
) android 6.5.3 ios 6.2.0Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
(You can paste entire code snippets, link to playground demo or attach a runnable project)
HTML:
TS: