On Screen widget container moving when browser resized

1435
12
Jump to solution
09-06-2018 01:43 PM
JoelPerkins
New Contributor III

Hello. I have an onscreen widget that I am using with the plateau theme and the widgets are stacked top to bottom on the left hand side of the screen. I found out that when I resize the browser window (making it narrower or even reducing the height of the browser) my widget icon/container shoots across to the right side of the screen. In the config.json, I have the position set to 

position: {

     top: 212,

     left: 7,

     relative to: map

}

What else might need to be done to keep the widget from moving clear across the screen when I resize the browser window.

0 Kudos
12 Replies
JoelPerkins
New Contributor III

I've attached the config.json. Thanks Robert.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Joel,

 OK, now I see. You are using the Plateau theme and there is no support for onScreen widgets like you are attempting. The theme is just not designed for this.

JoelPerkins
New Contributor III

Good to know, Robert. I'll pick a different theme or just deal with the behavior. I really appreciate it!

0 Kudos