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.

Is it possible to customize dimensions of DayPicker?

See original GitHub issue

AFAIСT width of wrapper div in horizontal orientation is inlined and it’s not possible to configure it in userland. Is this correct or there is a way to change root element’s dimensions?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
majapwcommented, Nov 30, 2017

daySize exists as a prop now so I will be closing this issue. 😃

1reaction
majapwcommented, Mar 17, 2017

@alexfedoseev sorry for never getting back to this! The reason it can’t be css-only is largely due to the animations.

Also we will probably be moving to a more css in JS solution in the future so writing this in as a prop makes the most sense.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to customize dimensions of DayPicker? #287
The idea being that most of the calculations come from the size of each day and if we allowed for customizing that from...
Read more >
How to customize date picker's width and height in android
The only way I've found to resize it is to simply re-scale the view. For example, if you only want 80% of the...
Read more >
Increase the size of the DatePicker's popup to fit the content
The popup of the DatePicker is resized based on month's name length. ... If you are using it for the Calendar component you...
Read more >
Possible to change the size of the default DatePicker Calendar?
Hi @Anonymous, Just test around and it seems that the size of the date field cannot be modified so far. You could post...
Read more >
Date Picker Component | React DayPicker
DayPicker is a date picker component for React, written in TypeScript. ... DayPicker is customizable, works great with input fields and can be...
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