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.

DatePicker: support custom mount point for the calendar widget + always visible

See original GitHub issue

Summary

We are currently trying to figure a paging/calendar widget implementation akin to what they are doing in Toggl / Google Ads

image image

We could probably make something from the ground up based on FlatPickr since it’s already used in carbon-components-react, but I don’t want to reinvent the wheel by trying to discover & fix everything you’ve already did on your side.

All that being said I tried to start flashing out something based on your implementation of range DatePicker with our usage in mind (no design document yet, just trying to feel out the problem domain) and got to a point where I think that it’s doable if I’d be able to tell the DatePicker to render the widget into my container and to keep it always visible.

Here is a screenshot to illustrate my state of affairs. The idea is that something like this would be the whole pop-over content & the pink area is where the calendar widget would be rendered. image

Specific timeline issues / requests

Undefined on my side as far as I can tell…

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jnm2377commented, Jul 19, 2021

Hi @kubijo 👋🏽 Thanks for opening this issue. At the moment, we have a lot of accessibility concerns with Flatpickr and are looking into moving away from it. As we sort through the accessibility issues, we’ll take this design into consideration. Going to close this for now. 😄

1reaction
kubijocommented, May 4, 2021

regarding radio button implementation and the lack of React Context usage, I believe those components predate the current context API

That was just an example of the top of my head since I’ve just upgraded carbon-components-react to version where a fix to that component has landed 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

datepicker always visible - - The Events Calendar
1. To have the datepicker always visible, use the mini-calendar widget, i.e. avoid trying to engage the datepicker that is part of the...
Read more >
Calendar not showing up in Bootstrap datetimepicker
By default DateTimePicker uses Bootstrap glyphicons but you can specify your custom icons for all other things. icons:{ time: 'glyphicon glyphicon-time', date: ...
Read more >
DatePicker | React Widgets - GitHub Pages
Controls the visibility of the DatePicker popup. Use defaultOpen to set an initial value for uncontrolled widgets. type: boolean. parse ...
Read more >
jQuery Calendars Datepicker - Keith Wood
A jQuery plugin that provides a datepicker with support for various world calendars. This plugin builds on the original jQuery Datepicker plugin, ...
Read more >
DatePicker | API Reference | ArcGIS Maps SDK for JavaScript ...
Indicates whether the widget is visible. If false , the widget will no longer be rendered in the web document. This may affect...
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