React-calendar: Can i show react-calendar as a pop up ?

Created on 27 Jan 2020  路  7Comments  路  Source: wojtekmaj/react-calendar

Currently it is shown like that :

image

But i would like it to have a button which i have to click in order calendar to be shown as a pop up . I mean https://codepen.io/simeg/pen/mEmQmP

question

All 7 comments

Of course you can. This package just shows the calendar itself, but you can put it in a popup if you want.

By the way, that's exactly what React-Date-Picker is doing.

@wojtekmaj The problem is i just need React-Calendar and not all the dependencies of React-Date-Picker :) .

Also React-date-picker doesn't have a property to just show the calendar . It also shows some extra stuff.

It would be nice if react-calendar had a property called ( showInPopUp) .

By the way how i can do it by my self?

2020-01-27_13-21-44

React-Calendar aims to do one thing and to do it right. There are tons of solutions, both custom and reusable, that helps you build a pop-up. Putting React-Calendar in this pop-up should be no different from putting an image of a potato inside. ;)

I'm sorry, I wish I could, but I can't code everything for everyone.

@wojtekmaj Understood :) , but in the same logic React-Date-Picker shouldn't be shown in popup ....

If i make a pull-request will you consider it ? :)

React-Date-Picker shows a pop-up with React-Calendar.

What do you want to make a PR for?

http://projects.wojtekmaj.pl/react-date-picker/ Oups now i see , this fits me , i think i was drunk and didn't show it correctly before :)

I was trying to show only calendar in http://projects.wojtekmaj.pl/react-datetime-picker/

:) Have a nice day

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spoldman picture spoldman  路  4Comments

olejorgenb picture olejorgenb  路  3Comments

guydewinton picture guydewinton  路  3Comments

dumkanki picture dumkanki  路  4Comments

fasmart4 picture fasmart4  路  6Comments