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

bug: ion-datetime navigation skips months #24743

Closed
4 of 6 tasks
maxcaber opened this issue Feb 8, 2022 · 5 comments
Closed
4 of 6 tasks

bug: ion-datetime navigation skips months #24743

maxcaber opened this issue Feb 8, 2022 · 5 comments
Labels

Comments

@maxcaber
Copy link

maxcaber commented Feb 8, 2022

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

When swiping left to right or clicking the arrow navigation buttons the calendar will advance or retrieve two months instead of going to the next or previous month.

Expected Behavior

Clicking the next month arrow, the calendar should advance to the next month.

Steps to Reproduce

The is reproduced in the ionic documentation demo, as well as running the sample React code on this page: https://ionicframework.com/docs/api/datetime

Code Reproduction URL

https://ionicframework.com/docs/api/datetime

Ionic Info

Microsoft Windows [Version 10.0.19042.1466]
(c) Microsoft Corporation. All rights reserved.

C:\Temp\ionic-test>ionic info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module
'@capacitor/ios/package'

   Require stack:
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js        
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic

[WARN] Error loading @capacitor/android package.json: Error: Cannot find module
'@capacitor/android/package'

   Require stack:
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\lib\project\index.js    
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\lib\index.js
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\index.js
   - C:\Users\Max Caber\AppData\Roaming\npm\node_modules\@ionic\cli\bin\ionic

Ionic:

Ionic CLI : 6.18.1 (C:\Users\Max Caber\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/react 6.0.5

Capacitor:

Capacitor CLI : 3.4.0
@capacitor/android : not installed
@capacitor/core : 3.4.0
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 1.5.0

System:

NodeJS : v14.18.0 (C:\Program Files\nodejs\node.exe)
npm : 7.24.1
OS : Windows 10

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Feb 8, 2022
@averyjohnston
Copy link
Contributor

Thanks for the issue. I'm going to close this as a duplicate of #24712.

@maxcaber
Copy link
Author

maxcaber commented Feb 8, 2022 via email

@averyjohnston
Copy link
Contributor

You can search issues in the framework repo here: https://github.com/ionic-team/ionic-framework/issues This one may have slipped under your radar because it was already closed (since the fix has been merged in and will be released soon) and the search defaults to open issues only. Removing the is:open from the search and trying the keywords datetime month yields the original issue as well as other duplicates that were opened recently.

@maxcaber
Copy link
Author

maxcaber commented Feb 9, 2022 via email

@ionitron-bot
Copy link

ionitron-bot bot commented Mar 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Mar 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants