Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Issue with Carousel in a Dialog Box, scrollbar doesnot appear

$
0
0

Hi

I am trying to add a Carousel containing many Forms (with too many Form Elements) to a Dialog Control (desktop controls) , however I seem to have a problem with the scrollbar on the Dialog Box. It does not appear and hence scrolling thru the Form UI Elements is difficult.

 

If I just add the Form to the Dialog - a nice vertical scroll appear.

 

The moment I add the Form to the Carousel and add it to the Dialog - the scroll disappears. And that makes navigating thru the form impossible. 

 

Here is the dialog

var callDialog = new sap.ui.commons.Dialog({
   id:"dialog",
   height: "95%",
  

width: "70%", })

var oCarousel = new sap.ui.commons.Carousel({ enableScrolling: true});

            oCarousel.setWidth("95%");

            oCarousel.setHeight("95%");

            oCarousel.setVisibleItems(1);

         //   enableScrolling: false,

            oCarousel.setHandleSize(15);

           // oCarousel.defaultItemHeight("100%");           

            oCarousel.setOrientation("horizontal");

 

oCarousel.addContent(form);

 

callDialog.addContent(oCarousel);

 

What could be a problem here?

 

Regards


Viewing all articles
Browse latest Browse all 6178

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>