Hello,
I am trying to create a responsive widget for arcgis experience builder that I created using TypeScript and React. The widget is working properly on the default size (or if the user zooms in or zooms out). The problem I have is that if the final user changes the size of the widget, all of the css I configured to make it responsive suddenly stops working.
I also tried to create several functions in the tsx code in order to capture if the user shrinks or makes the widget bigger after placing it on the map, but they did not work.
"NormalWindowSizeView" is how it looks if the user entered the widget in different sizes, as you can see, the widget looks very weird.
"ShrinkedWindowSizeView" is how the widget looks if the user shrinks the size of the window, the responsiveness start.