question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: v6 datetime scroll position issues

See original GitHub issue

Bug Report

Ionic version:

[ ] 4.x [ ] 5.x [X] 6.x

Current behavior:

I just tested the new Date-Time Component and mentioned some things:

  1. Selecting the Month doesn’t work well. If i click on the Month / year Label it kinds buggs and jumps to a wrong date (this is reproducible in the Ionic Tests)
  2. If i use presentation time while the date-time is inline, it still has a height like the date calendar would be presented
  3. There is no way to only select less, for example only Month and Year?
  4. I’m not able to hide the “Time” Label?
  5. I’m unsure, because i only tested in browser yet, but is the time input also a input which opens the keyboard like it does on native?
  6. If i use the arrows to navigate to the next month the page scrolls up (also when changing via swipe)
  7. Isn’t it possible to change the start of the week day?
  8. Like we have for the “ion-select” a presentationstyle would be great to automatically open a modal or popup

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Jul 1, 2021

Thanks, I will take a look at the issues described in this thread.

The problem with the old picker API is that it could only ever be used as an overlay. Developers wanted to be able to use datetime inline as well, so with v6 ion-datetime only concerns itself with the calendar interface and ion-modal/ion-popover concern itself with presenting content as an overlay.

0reactions
ionitron-bot[bot]commented, Sep 26, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EditText in ScrollView setError problem scrolling when soft ...
If there is no popup, but the EditText has focus, scrolling is smooth and the focused view can scroll under the keyboard. If...
Read more >
Changelog - Cypress Documentation
This fixes an issue observed where the reporter randomly stops scrolling during a video recording and the Command log details are not visible....
Read more >
ScrollRestoration v6.6.0 - React Router
This component will emulate the browser's scroll restoration on location changes ... the scroll position is restored to the right spot, even across...
Read more >
Change Log for Releases - ag-Grid
Bugs. AG-1161: Issue using ag-fresh and auto group column defs - No padding in the ... This impacted when filtering changed the v...
Read more >
Changelog | Sanity.io documentation
Fixes an issue where the scroll position in global search wasn't being correctly ... Fixes a bug where desk tool document lists would...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found