Forums

Forums / Developing Portals / pop-up window not responsive?

pop-up window not responsive?

4 posts, 1 answered
  1. Charlotte Wang
    Charlotte Wang avatar
    20 posts
    Registered:
    02 Nov 2021
    17 Feb 2022
    Link to this post
    Hi there,
    I created a form with a sub-grid that has adding/editing a record features. For adding/editing records, I configured as "pop-up" so users are able to edit/add a record on a popup window. As I tested it, I noticed the pop-up is not responsive. Is it a bug or it's the way it works. 

    Thanks.
  2. Brady Ward
    Brady Ward avatar
    92 posts
    Registered:
    19 Aug 2021
    18 Feb 2022 in reply to Charlotte Wang
    Link to this post
    Hello Charlotte,

    Could you please elaborate, in what way is the popup appearing non-responsive?

    By default the modal window should render itself using the values provided in the advanced settings or in comparison to the size of the viewport/window. It will not automatically resize itself if the window changes sizes after the initial render.

    Looking forward to your reply,

    Brady
    TPC Web Developer
    Last modified on 18 Feb 2022 18:02 by Brady Ward
  3. Charlotte Wang
    Charlotte Wang avatar
    20 posts
    Registered:
    02 Nov 2021
    28 Feb 2022 in reply to Brady Ward
    Link to this post
    Brady,

    What happened was that I resized the window after the pop-up showed up. so as you said - it will not automatically resize itself if the window changes sizes after the initial render.. 
    Thanks for your answer .
    However, I still wonder if there is a solution to this. 




  4. Brady Ward
    Brady Ward avatar
    92 posts
    Registered:
    19 Aug 2021
    Answered
    28 Feb 2022 in reply to Charlotte Wang
    Link to this post
    Hello Charlotte,

    In a normal situation, the user will not generally change the size of the viewport/window after the initial load but if a use-case does arise, there are quite a few solutions to the issue.

    One quick and easy solution would be to maximize the pop-up. In the edit menu of the widget that you are using to setup the popup, go to Advanced and set the WindowMaximized property to True. That will have the popup always fill the entire viewport.

    Let me know if that helps you at all,

    Brady
    TPC Web Developer
4 posts, 1 answered