ProgressNS / nativescript-ui-feedback

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

[Android][RadCalendar] ViewMode not respected #1375

Open ghost opened 4 years ago

ghost commented 4 years ago

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

ViewMode setted not respected at runtime

Which platform(s) does your issue occur on?

Android

Please provide the following version numbers that your issue occurs with:

Please tell us how to recreate the issue in as much detail as possible.

  1. Create an app, with a RadCalendar inside
  2. Set programmatically in the .xml file the viewMode to "Week"
  3. Start the application
  4. Swipe down the calendar (in this step it' ll open the "Month" mode) -> this is the behaviour that not correspond to the .xml file
  5. Swipe up the calendar (it won't return to "Week" mode)

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

<calendar:RadCalendar 
  color="#282828" height="400" id="calendar-visits" locale="it-IT" 
  viewMode="Week"  loaded="{{ calendarLoaded }}" eventSource="{{ calendarsEvents }}" 
  selectionMode="Single" 
  dateSelected="{{ onDateSelected }}" dateDeselected="{{ onDateSelected }}" 
  navigatedToDate="{{ onNavigatedToDate }}" 
  navigatingToDateStarted="{{ onNavigatingToDateStarted }}" />
NickIliev commented 4 years ago

@DaniWork can you elaborate more on your case - I've created this demo app but I am not able to reproduce your issue (nor am I able to swipe-up or down the calendar at all)