@@ -96,6 +96,7 @@ let childrenMap: any = {
96
96
currentFreeView : dropdownControl ( DefaultWithFreeViewOptions , "timeGridWeek" ) ,
97
97
currentPremiumView : dropdownControl ( DefaultWithPremiumViewOptions , "resourceTimelineDay" ) ,
98
98
animationStyle : styleControl ( AnimationStyle , 'animationStyle' ) ,
99
+ showVerticalScrollbar : withDefault ( BoolControl , false ) ,
99
100
} ;
100
101
// this should ensure backwards compatibility with older versions of the SDK
101
102
if ( DragEventHandlerControl ) {
@@ -134,6 +135,7 @@ let CalendarBasicComp = (function () {
134
135
currentPremiumView ?: string ;
135
136
animationStyle ?:any ;
136
137
modalStyle ?:any
138
+ showVerticalScrollbar ?:boolean
137
139
138
140
} , dispatch : any ) => {
139
141
@@ -261,6 +263,7 @@ let CalendarBasicComp = (function () {
261
263
licenseKey,
262
264
resourceName,
263
265
modalStyle,
266
+ showVerticalScrollbar
264
267
} = props ;
265
268
266
269
function renderEventContent ( eventInfo : EventContentArg ) {
@@ -626,6 +629,7 @@ let CalendarBasicComp = (function () {
626
629
$editable = { editable }
627
630
$style = { style }
628
631
$theme = { theme ?. theme }
632
+ $showVerticalScrollbar = { showVerticalScrollbar }
629
633
onDoubleClick = { handleDbClick }
630
634
$left = { left }
631
635
key = { initialDate ? currentView + initialDate : currentView }
@@ -756,6 +760,7 @@ let CalendarBasicComp = (function () {
756
760
animationStyle : { getPropertyView : ( ) => any ; } ;
757
761
modalStyle : { getPropertyView : ( ) => any ; } ;
758
762
licenseKey : { getView : ( ) => any ; propertyView : ( arg0 : { label : string ; } ) => any ; } ;
763
+ showVerticalScrollbar : { propertyView : ( arg0 : { label : string ; } ) => any ; } ;
759
764
} ) => {
760
765
761
766
const license = children . licenseKey . getView ( ) ;
@@ -796,6 +801,7 @@ let CalendarBasicComp = (function () {
796
801
? children . currentFreeView . propertyView ( { label : trans ( "calendar.defaultView" ) , tooltip : trans ( "calendar.defaultViewTooltip" ) , } )
797
802
: children . currentPremiumView . propertyView ( { label : trans ( "calendar.defaultView" ) , tooltip : trans ( "calendar.defaultViewTooltip" ) , } ) }
798
803
{ children . firstDay . propertyView ( { label : trans ( "calendar.startWeek" ) , } ) }
804
+ { children . showVerticalScrollbar . propertyView ( { label : trans ( "calendar.showVerticalScrollbar" ) } ) }
799
805
</ Section >
800
806
< Section name = { sectionNames . style } >
801
807
{ children . style . getPropertyView ( ) }
0 commit comments