Forums

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

pop-up window not responsive?

4 posts, 1 answered
  1. Missing user
    Missing user avatar
    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. Missing user
    Missing user avatar
    18 Feb 2022 in reply to Missing user
    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 Missing user
  3. Missing user
    Missing user avatar
    28 Feb 2022 in reply to Missing user
    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. Missing user
    Missing user avatar
    Answered
    28 Feb 2022 in reply to Missing user
    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