Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onDateTap not triggered in current week view #332

Closed
jt274 opened this issue Mar 13, 2024 · 1 comment
Closed

onDateTap not triggered in current week view #332

jt274 opened this issue Mar 13, 2024 · 1 comment

Comments

@jt274
Copy link

jt274 commented Mar 13, 2024

This issue has occurred after updating to 1.1.0.

When tapping on a date/time in WeekView, the onDateTap callback should be fired, but it is not if the week view shown is of the current week. If the calendar week is swiped to a previous week or future week, the callback works.

onDateTap is not trigged in this code example if in the current week. For example, today is March 12, and it will not work only if the calendar is showing the week of March 11-17.

WeekView(
  onDateTap: (time) {
    print('***TAPPED: $time');
  },
)

This may be related to #329

ravilsimform added a commit to ravilsimform/flutter_calendar_view that referenced this issue Mar 19, 2024
SimformSolutionsPvtLtd#332.

- The size of the LiveTimeLine's painting area is now determined by the screen size that I've adjusted, and it has been replaced by LiveTimeIndicatorSettings.height.
ravilsimform added a commit to ravilsimform/flutter_calendar_view that referenced this issue Mar 19, 2024
SimformSolutionsPvtLtd#332.

- The size of the LiveTimeLine's painting area is now determined by the screen size that I've adjusted, and it has been replaced by LiveTimeIndicatorSettings.height.
ParthBaraiya pushed a commit that referenced this issue Mar 24, 2024
#332. (#335)

- The size of the LiveTimeLine's painting area is now determined by the screen size that I've adjusted, and it has been replaced by LiveTimeIndicatorSettings.height.
@apurva010
Copy link
Collaborator

Closing this issue as issue got fixed in #335.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants