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.

Ionic 2 - Datetime-Picker opened/closed events (feature request)

See original GitHub issue

Short description of the problem:

I’m using cordova-googlemaps plugin and just like with the sidemenu I would like to have opened and closed events to bind to, so I can set the map “not clickable”.

Cordova-googlemaps uses an invisible overlay and when the map is “clickable”, ionic elements seemingly on top of it do not receive the click/tap event, since the overlay receives all of them.

The solution is to make the map not clickable when elements are on top of it, like when opening the sidemenu or datetime-picker and settings it back to clickable, when the top-element is dismissed again.

What behavior are you expecting?

(opened) and (closed) events on the <ion-datetime> picker.

Which Ionic Version? 1.x or 2.x Ionic 2 Beta 7

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
keithdmoorecommented, Jun 5, 2016

@jgw96 you might want to add the datetime label to this one.

0reactions
ionitron-bot[bot]commented, Sep 4, 2018

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

feat(datepicker): add support for choosing time #5648 - GitHub
So, when a date is not set yet, and when you open the picker, the local datetime is selected by default. Workarround is...
Read more >
ion-datetime - Ionic Framework
Datetimes present a picker interface to select dates and times. Ionic's API Datetime input component easily displays a preferred format, and manages values....
Read more >
Allowing only specific dates in Datepicker - Stack Overflow
3 Answers 3 · This should work. But what if I don't have a start and end date? :-) · 1 · I've...
Read more >
danielmoncada/angular-datetime-picker - npm
The date-time picker was built to be date implementation agnostic. Developers need to make sure to provide the appropriate pieces for the picker...
Read more >
open - API Reference - Kendo UI DatePicker - Documentation
open. Fires when the calendar is opened. Event Data. e.sender kendo.ui.DatePicker. The widget instance which fired the event.
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