profile
viewpoint

Ask questionsDisable Click of Label in Navigation Bar

Is there a way to disable the functionality when you click the label within the navigation bar? I want to be able to use next and previous buttons, but have nothing happen when the label is clicked.

I'm using double month view, and when i click the label (ie May 2020 - June 2020) it changes to year view. I've stopped this by explicitly setting view="month" but now on click of this, it resets the calendar to the beginning of the year.

wojtekmaj/react-calendar

Answer questions wojtekmaj

Thanks @giacomocerquone!

useful!

Related questions

Changing tileContent dynamically? hot 1
formatShortWeekday always returns a date string in English hot 1
Github User Rank List