Open azizaparveen opened 1 week ago
@jmhauck For backward compatibility we are overriding appLayout to tableView when hideMapOnLoad is enabled
is this issue has impact on how this is handled in Instant app?
Please let us know your findings
@sumitzarkar At some point I feel like we should deprecate the prop from the component because it's now confusing what one would expect if they set both the hideMapOnLoad
and appLayout
.
For now at least I think we should just honor hideMapOnLoad
if it's true and no appLayout
is set. If appLayout
is set then we should honor that and ignore hideMapOnLoad
.
https://github.com/Esri/solutions-components/pull/867
@chris-fox do you have thoughts on the possible deprecation?
I am good with deprecating it. At this point I believe we are the only one using the component.
@jmhauck
Describe the bug
I am seeing this is issue only with this old app, where hide map was enabled, after the new code merge, I was able to change the layout option from the config but the default view is showing table view
Expected Behavior
It shows Split view as default view since I changed the config option to Split view.
Reproduction Steps & Sample
Test app: https://sg-em-devext.mapsdevext.arcgis.com/apps/instant/manager/index.html?appid=d30ffa4fcdde411f8ced045a26d72030
I am also seeing issue in the configuration, if I changed the view to map view, it does not get updated in the preview, it does not load the map
Other Relevant Info
No response