@@ -96,6 +96,7 @@ let childrenMap: any = {
9696 currentFreeView : dropdownControl ( DefaultWithFreeViewOptions , "timeGridWeek" ) ,
9797 currentPremiumView : dropdownControl ( DefaultWithPremiumViewOptions , "resourceTimelineDay" ) ,
9898 animationStyle : styleControl ( AnimationStyle , 'animationStyle' ) ,
99+ showVerticalScrollbar : withDefault ( BoolControl , false ) ,
99100} ;
100101// this should ensure backwards compatibility with older versions of the SDK
101102if ( DragEventHandlerControl ) {
@@ -134,6 +135,7 @@ let CalendarBasicComp = (function () {
134135 currentPremiumView ?: string ;
135136 animationStyle ?:any ;
136137 modalStyle ?:any
138+ showVerticalScrollbar ?:boolean
137139
138140 } , dispatch : any ) => {
139141
@@ -261,6 +263,7 @@ let CalendarBasicComp = (function () {
261263 licenseKey,
262264 resourceName,
263265 modalStyle,
266+ showVerticalScrollbar
264267 } = props ;
265268
266269 function renderEventContent ( eventInfo : EventContentArg ) {
@@ -626,6 +629,7 @@ let CalendarBasicComp = (function () {
626629 $editable = { editable }
627630 $style = { style }
628631 $theme = { theme ?. theme }
632+ $showVerticalScrollbar = { showVerticalScrollbar }
629633 onDoubleClick = { handleDbClick }
630634 $left = { left }
631635 key = { initialDate ? currentView + initialDate : currentView }
@@ -756,6 +760,7 @@ let CalendarBasicComp = (function () {
756760 animationStyle : { getPropertyView : ( ) => any ; } ;
757761 modalStyle : { getPropertyView : ( ) => any ; } ;
758762 licenseKey : { getView : ( ) => any ; propertyView : ( arg0 : { label : string ; } ) => any ; } ;
763+ showVerticalScrollbar : { propertyView : ( arg0 : { label : string ; } ) => any ; } ;
759764 } ) => {
760765
761766 const license = children . licenseKey . getView ( ) ;
@@ -796,6 +801,7 @@ let CalendarBasicComp = (function () {
796801 ? children . currentFreeView . propertyView ( { label : trans ( "calendar.defaultView" ) , tooltip : trans ( "calendar.defaultViewTooltip" ) , } )
797802 : children . currentPremiumView . propertyView ( { label : trans ( "calendar.defaultView" ) , tooltip : trans ( "calendar.defaultViewTooltip" ) , } ) }
798803 { children . firstDay . propertyView ( { label : trans ( "calendar.startWeek" ) , } ) }
804+ { children . showVerticalScrollbar . propertyView ( { label : trans ( "calendar.showVerticalScrollbar" ) } ) }
799805 </ Section >
800806 < Section name = { sectionNames . style } >
801807 { children . style . getPropertyView ( ) }
0 commit comments