Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
igDialog size with dynamic content
posted

Hi,

I would like to ask for an issue where igDialog size does not update when its content changes. I have a really big div inside a dialog and I want to scroll through that. However, igDialog automatically set size to the div size, so it flow all over my screen. I already set the dialog css to overflow: auto and set its size but this did not work for me. Please let me know if there is any setting that helps. Thanks in advance.

Parents
No Data
Reply
  • 10685
    Offline posted

    Hello tangailam, 

    I have tested this with setting a larger div during igDialog initialization. It correctly renders with scrollbars when required. What is more, I have also added a toggleClass, in order to change the div size and color on btn click. Using both approaches, I was unable to reproduce the auto resizing. I am attaching the sample for reference. Please let me know if you are using such approach. If not or you still experience the issue, could you please modify it in order to reproduce the described behavior? Also please notice this sample uses the latest available IgniteUI version - 14.2.20142.2140 .

    I am looking forward feedback from you!

    igDialog_LargeDivInside-ResizingIssue.zip
Children