react-multi-date-picker icon indicating copy to clipboard operation
react-multi-date-picker copied to clipboard

Need vertical Scroll

Open akashhartler opened this issue 3 years ago • 4 comments

Hi, is it possible to show all months vertically with a scroll?

akashhartler avatar Sep 13 '22 05:09 akashhartler

Unfortunately, this feature is not currently supported :(

shahabyazdi avatar Sep 14 '22 05:09 shahabyazdi

Okay, is there any way to set years headers inside panel?

akashhartler avatar Sep 14 '22 05:09 akashhartler

@akashhartler fwiw I was able to do this with a small bit of CSS

'.rmdp-calendar': {
  maxHeight: '550px',
  overflowY: 'auto',
},
'.rmdp-full-year': {
  gridTemplateColumns: 'repeat(1, 1fr)',
},

Kapture 2022-10-19 at 10 37 52

benjamincharity avatar Oct 19 '22 14:10 benjamincharity

Hello Banjamin,

This is great, but if you test it, the previous months from the selected date doesn't show up.

Akash Badiyani

Technical Lead Engineer //Hartley Lab

M: +91 937 3470791 <+91+937+3470791> // www.hartleylab.com

https://twitter.com/hartleylab https://www.linkedin.com/company/hartley-lab https://www.facebook.com/HartleyLab/ https://www.youtube.com/channel/UC2wvPee8Zuu_JXjfD2sdXGA

On Wed, Oct 19, 2022 at 8:07 PM Benjamin Charity @.***> wrote:

@akashhartler https://github.com/akashhartler fwiw I was able to do this with a small bit of CSS

'.rmdp-calendar': { maxHeight: '550px', overflowY: 'auto', }, '.rmdp-full-year': { gridTemplateColumns: 'repeat(1, 1fr)', },

— Reply to this email directly, view it on GitHub https://github.com/shahabyazdi/react-multi-date-picker/issues/132#issuecomment-1284121551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJREN2XNXXKEHCZ6R2JZL7DWEABSLANCNFSM6AAAAAAQLCWDOA . You are receiving this because you were mentioned.Message ID: @.***>

akashhartler avatar Oct 19 '22 16:10 akashhartler