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.

Date picker month name cut off

See original GitHub issue

Expected Behavior

The month name should be displayed along-side of the year with enough space and padding.

Current Behavior

The month name is currently cut off because it is overlapping with the year.

Possible Solution

The width could be increased to 100% (or another relative size) of the parent. A fixed width is generally undesirable because it hinders support for other languages.

.datepicker-controls .select-month input {
  width: 100%;
}

Steps to Reproduce (for bugs)

https://codepen.io/TheHole/pen/eKKoEz

Context

The context is a simple form that requires date selection.

Your Environment

  • Version used: 1.00 rc2

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

2reactions
robertguetzkowcommented, Jun 24, 2018

It’s also quite annoying that the left side bar of the date picker wobbles because it’s not fixed size (and the font isn’t monospaced). For example “Thu, Sep 20” takes more space than “Fri, Sep 21”. While this isn’t a bug, it could be fixed for the new release. I can create another ticket, if you’re interested in adjusting this behavior.

0reactions
roman02commented, Aug 8, 2019

Is this going to be fixed by the team?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datepicker any other view except 'Month' cuts off selection ...
2) Open any of the datepickers and click the month name, as you will see a few months are hidden on the right...
Read more >
Disable Months On Month/DatePicker - Stack Overflow
I have a monthpicker which only allows users to select a year in advance but what I want is for past months to...
Read more >
Date picker cut off - jQuery Forum
I'm using Firefox. It does cutoff in IE8 - because there's an inline style (overflow:hidden) on the datepicker div that doesn't appear in ......
Read more >
Datepicker Widget - jQuery UI API Documentation
The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages. You can customize the date format and...
Read more >
Solved: Adding cutoff time to date picker - Shopify Community
Solved: Hi, I have managed to add a delivery date picker in my cart template using instructions from here.
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